script not working when called via opsmanager
I have created a work flow to execute a windows script, it fails without any error message (if I execute the script not using opsmanager it works fine).
Set WshShell = WScript.CreateObject("WScript.Shell")
Command = "C:\scripts\comain.bat"
WshShell.Run Command
New to ADSelfService Plus?