Create report from return codes

Comments

3 comments

  • Callan Johnstone

    Hello!

    You can run a report on your Deployment which might give you the information

    enter image description here

    In the report, select Edit and change the Report Details to suit, below is my example, PowerShell returned error code 1 on the failed targets. In my case, this error for me means the users selected not to reboot at this time.

    enter image description here

    Hope it helps!

    0
    Comment actions Permalink
  • Troy M

    This did help! Not in the expected way though.

    Seeing the failed error codes in your report got the wheels in my head turning, so I removed the success codes from my package and the package will run and "fail". It will show the error code in the Targets pane. This works for me since the script still runs and displays the error code in an easy sortable/filterable way.

    Target example Thanks!

    0
    Comment actions Permalink
  • Callan Johnstone

    Whaoo! Glad it helped in some way 😃 Hopefully, more detailed reports for Deploy to come in future

    0
    Comment actions Permalink

Please sign in to leave a comment.