Hello Folks ;
we are trying to restart server with below custom script but couldnt achived it .
When we run the script with double click on the server it works.
Any idea about that issue ? or any other custom scripts are aprreciated .
Dim objShell, strComputer, strInput
Dim strShutdown
strShutdown = "shutdown -r -t 0 -f "
set objShell = CreateObject("WScript.Shell")
objShell.Run strShutdown