How to Shut Down Windows 10 Using Only Your Voice
Once you’re set up Cortana, you can create your own custom shortcuts to shut down, log off, or restart your computer. Since she won’t do this by default, you’ll have to make a quick shortcut, but it’s a simple process.
No matter what action you want to make a voice command for, browse to:
Once here, right-click and choose New Shortcut. In the location field, you can type a variety of commands to log off or shut down, including any of their variants. For example, to shut down your computer after a ten second delay, type this in the shortcut field: shutdown.exe -s -t 10
Shutdown.exe gets the process started; the -s command tells it to shut down and the -t 10 tells it to wait ten seconds before doing so. If you’d like to add a longer delay, feel free to change that number of seconds.
Simply name your shortcut something easy to say (like Shut Down), and then you can say “Hey Cortana, Open (or Launch, or Start) Shut Down”. She’ll run the process and shut down the PC for you!