Use Restart.vbs to restart, logoff, poweroff, or shutdown a local or remote computer. Command line switches allow you to specify the time until restart, and to force the operation if desired.
Restart.vbs Topics:
Restart.vbs Syntax
Restart.vbs Example