shutdown -r -c "Rebooting for latest updates."
This command would display a Windows system shutdown window for 30 seconds. This window would warn the user that the computer is going to shut down and then restart the computer.
shutdown -i
Ran from either the command line or from the Windows run line, this option would open the remote shutdown dialog window.
shutdown /h
Place the computer in hibernation mode in Windows Vista, 7, or 8.
shutdown /l
Immediately logs off the current user in Windows Vista, 7, or 8.
shutdown /s /t 60
Shuts down the computer after 60 seconds.
shutdown /s /m \\PC123 /t 20
Will shut down remote computer name "PC123" after 20 seconds.
shutdown /s /t 45
shutdown /a
The first command initiates a computer shutdown after 45 seconds. The second command aborts the shutdown if it's executed in the shutdown timeout period, which is 45 seconds in this example.