Forum Discussion
Radar
13 years agoOccasional Contributor
Hello Robert,
I tried using the same method as suggested for my earlier post, however it was not successful.
cmdString = "SCHTASKS /Query /S "+remoteServer+" /U "+userName+" /P "+passWord+" /FO CSV >> "+fileName;
shellObject = Sys.OleObject("WScript.Shell")
execOut = shellObject.Exec(cmdString)
I can use the very same string on a command line and that works, however via TC script I am not having any luck.
Regards
Mark
I tried using the same method as suggested for my earlier post, however it was not successful.
cmdString = "SCHTASKS /Query /S "+remoteServer+" /U "+userName+" /P "+passWord+" /FO CSV >> "+fileName;
shellObject = Sys.OleObject("WScript.Shell")
execOut = shellObject.Exec(cmdString)
I can use the very same string on a command line and that works, however via TC script I am not having any luck.
Regards
Mark
Related Content
Recent Discussions
- 22 hours agoMW_Didata