Windows 7 Shutdown Command

Compared to Windows XP, the Windows 7 command line tool has changed and operates with a new set of switches.

To shutdown the local computer, giving the user a minute to save their work-

shutdown /s

To shutdown the local computer, giving the user 10 seconds to save their work-

shutdown /s /t 10

To restart the local computer, giving the user a minute to save their work-

shutdown /r

To hibernate the local computer

shutdown /h

To shutdown a remote computer, giving the user a minute to save their work-

shutdow \\computername /s