Windows Commands
Here are some handy command prompt lines to help you shutdown and restart your computer
shutdown -r
— restartsshutdown -s
— shutsdownshutdown -l
— logoffshutdown -t xx
— wherexx
is number of seconds to wait till shutdown/restart/logoffshutdown -i
— gives you a dialog box to fill in what function you want to useshutdown -a
— aborts the previous shutdown command….very handy!shutdown -h
— hibernate. Easy mistake – it’s not for helpshutdown -y
— Removes all prompts at shutdown (Help not available in any documentation)
Additional options:
-f
— force the selected action-t <seconds>
— Set time to shutdown. Use-t 0
for “now”