Reboot, Logoff or Shutdown a Remote Computer

This script is a command-line utility for rebooting, logging off or shutting down remote computers. If no option parameter is specified, a force reboot is default.

At a command prompt:
reboot.vbs [computer] [option]

To force the computer workstation01 to reboot:
C:\>cscript.exe reboot.vbs workstation01

To force the computer workstation01 to power off:
C:\>cscript.exe reboot.vbs workstation01 fpoweroff

Complete list of options:
logoff
flogoff
shutdown
fshutdown
reboot
freboot
poweroff
fpoweroff