Situation : You have a job queue, and this contains a powershell script (via local command). If the script fails (exit code different from 0) then the execution of the job queue should stop.
Job queue contains eg:
1. powershell script to snapshot VM
2. Download and install MS patches
If the snapshot script fails, then the installation of the patches should NOT occur