I've been working with Windows Server 2012 for the past few weeks pretty extensively. During this time I've managed to (finally) find where most things lie. Because most of my work is very project oriented I don't tend to poke around too much; I go in, figure out how to get my job done, and do it. The one area that has managed to consistently be a pain for me has been rebooting or shutting down my VMs. Seriously, why do I have to go through so many clicks to perform something as simple as a reboot or shutdown?
Step 1: Wiggle your mouse pointer over the far bottom right of your screen (if you are using RDP or VMware console good luck!).
Step 2: Click on the settings wheel/gear/cog
Step 3: Click on the Power button
Step 4: Make a decision
This is just way too much for me to deal with. So a blast from the past to make things much easier, faster, and just plain effortless.
If you are not familiar with the shutdown.exe command you can use it simply with two parameters, but you need at least these two:
- /s /t <sec> : where s is to shut down, and t is the time delay (in seconds) before shutdown/reboot
- /r /t <sec> : will reboot the system (that's what the /r is for, duh)
So chances are that this operation will cause you much less frustration than the four step process above. And because you always have powershell open (don't you?), it's just an Alt-Tab and a few keystrokes away.