Showing posts with label command line. Show all posts
Showing posts with label command line. Show all posts

Thursday, April 19, 2012

Windows command line hook to restart shutdown

To immediately shutdown the system (0 second timeout), the command-line would be:

shutdown.exe -s -t 00

To reboot the system immediately, this command:

shutdown.exe -r -t 00