Shut down
Shut down
This command will shut down your Windows PC (Vista and forward) immediately (skipping any pending updates going down). %windir%\System32\shutdown.exe -s -t 01 Replace the -s with -r for a reboot.
To perform a full shutdown in Windows 8, execute the command /s /t 0