0
Answered

Can MIM Event Broker determine when a PowerShell script has stopped running

André van der Westhuizen 2 years ago • updated 2 years ago 4

We're setting up scheduled SSIS or PowerShell tasks, but need to ensure that they are executed sequentially. Are PowerShell operations executed synchronously?

Answer

Answer
Answered

Hi Andre,

Unless otherwise stated, operations are executed synchronously. This is to ensure that the result of the operation can be used for branching. Currently the only operation that is asynchronous (optionally) is the Operation List Execute.

Thanks.

Answer
Answered

Hi Andre,

Unless otherwise stated, operations are executed synchronously. This is to ensure that the result of the operation can be used for branching. Currently the only operation that is asynchronous (optionally) is the Operation List Execute.

Thanks.

So does this means that MIM Event Broker will wait for the PowerShell script to complete prior that the next operation start.

Yes that's correct, unless the PowerShell operation is used to trigger something asynchronously.