WJCon
Enthusiast
Enthusiast

Powershell Plugin, Invoke an External Script but don't wait on result - continue and assume success

Hello all,

I am writing a vRO workflow that interacts with Cloud Director and also a PowerShell Server. The first task creates a vapp and then the next step hands over to the powershell host and runs a script, this then happens over and over again in a loop - for the powershell part I reuse the Invoke an External Script command that runs a batch file that triggers the powershell scripts - very simple and no arguments required for the script - however vRO waits until the script finishes. As the script does quite a lot of things and usually takes 30 mins or more to run I would prefer to just trigger the script but not wait on the result - assume success - 

Is there a way to 'Invoke the External Script' but not wait around until it finishes?

Labels (2)
0 Kudos
1 Reply
WJCon
Enthusiast
Enthusiast

I actually resolved this by attaching the powershell batch job to a schedule task and using the invoke a powershell command to start the scheduled task

0 Kudos