Before Script returned non-zero exit code : 1

I would suggest checking the following -

  1. Check if your IQService/Utils.dll file is unblocked.

    • Right click on Utils.dll file in IQService folder and click on Properties. If it is blocked you will see a checkbox to Unblock it, check that box and Click on Apply.
  2. Sometimes, it is the PowerShell execution policy on the server that blocks the generated scripts from running. You can change policy and check if that resolves your issue.

  3. Verify your server is not blocking the script execution. Many times we have firewalls, antivirus software etc that block PS script executions. Work with your Network team to fix and resolve these.

1 Like