Open herrygoon opened 9 years ago
in that case you should use schedule job creation via ps with immediate start. I think it help you.
While I use powershell2.0 in win7. I using gcm -Module PSScheduledJob cannot find any items. Does any idea without update powershell?
I have using winRm to change the Node's IP with one job and two steps: 1.download the ps file to the node directory, "C:\" for example 2.execute the downloaded ps file. powershell -f "c:\downloadPs.ps1"
the ps file contents:
I can see the IP has changed,But the Rundeck job still in Running State and never to finish until Kill the job by hand.
if I using the ps:
will cause the error: