Skip to content

Instantly share code, notes, and snippets.

@solrevdev
Last active January 10, 2019 15:35
Show Gist options
  • Save solrevdev/1b43b13647d8b11bc0b5df0c05610437 to your computer and use it in GitHub Desktop.
Save solrevdev/1b43b13647d8b11bc0b5df0c05610437 to your computer and use it in GitHub Desktop.
shutdown all programs and restart after 60 seconds with a message
shutdown –m \\pc232 –r –f –c “The computer will restart, please save all work.” –t 60
shutdown -m \\pc232 -r -f -c "John is trying to restart PC232" -t 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment