Set oShell = WScript.CreateObject ("WScript.Shell") oShell.run "cmd.exe /C shutdown -r -t 00"