In Windows Server 2012 shutdown.exe has a new switch, -o, ¬†which controls the behaviour of the next boot. “shutdown -o -r -t 0” is now a very easy way to get into the boot menu for safe mode, last known good, etc.