To reboot the pc in VBScript you can use the following snippet.
Sample VBScript
Set WSHShell = WScript.CreateObject("WScript.Shell") WshShell.Run "C:\WINDOWS\system32\shutdown.exe -r -t 0"
To reboot the pc in VBScript you can use the following snippet.
Set WSHShell = WScript.CreateObject("WScript.Shell") WshShell.Run "C:\WINDOWS\system32\shutdown.exe -r -t 0"