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
shutdown.exe -s -t 00
To reboot the system immediately, this command:
shutdown.exe -r -t 00