Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "c
  2. omment"] [-d up:xx:yy]
  3.  
  4. No args Display this message (same as -?)
  5. -i Display GUI interface, must be the first option
  6. -l Log off (cannot be used with -m option)
  7. -s Shutdown the computer
  8. -r Shutdown and restart the computer
  9. -a Abort a system shutdown
  10. -m \\computername Remote computer to shutdown/restart/abort
  11. -t xx Set timeout for shutdown to xx seconds
  12. -c "comment" Shutdown comment (maximum of 127 characters)
  13. -f Forces running applications to close without war
  14. ning
  15. -d [u][p]:xx:yy The reason code for the shutdown
  16. u is the user code
  17. p is a planned shutdown code
  18. xx is the major reason code (positive integer le
  19. ss than 256)
  20. yy is the minor reason code (positive integer le
  21. ss than 65536)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement