Windows has built-in shutdown commands that provide the same functionality:
shutdown /s -- Shut down the computer
shutdown /r -- Restart the computer
shutdown /l -- Log off the current user
shutdown /s /f -- Shut down and force close applications
shutdown /r /f -- Restart and force close applications
shutdown /r /t 0 -- Restart immediately with no delay
The built-in shutdown command is available on Windows XP and later.