Skip to content

Instantly share code, notes, and snippets.

@karmanov
Created January 30, 2014 14:39
Show Gist options
  • Save karmanov/8709801 to your computer and use it in GitHub Desktop.
Save karmanov/8709801 to your computer and use it in GitHub Desktop.
Windows shutdown functions
shutdown -r — restarts
shutdown -s — shutsdown
shutdown -l — logoff
shutdown -t xx — where xx is number of seconds to wait till shutdown/restart/logoff
shutdown -i — gives you a dialog box to fill in what function you want to use
shutdown -a — aborts the previous shutdown command....very handy!
Additional options:
-f — force the selected action
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment