Restart.vbs Example


Restart.Vbs /S MyMachine /Q /F
Forcibly shuts down the computer MyMachine, closing all applications and losing unsaved data.
restart.Vbs /S MyMachine /L /T:30
Waits 30 seconds and then logs off the current user from the computer MyMachine.