Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

Deployment Type's return code?

$
0
0

Hi All,

So i have a powershell script that does deployment and prompt users to accept it now or defer it later. If user accepts it, it will proceed and return 0 at the end which is fine. If user defers it, the script will return a custom error code (9999 in my case). I can see the error in compliance report but it appears as unknown error. I did define the error code under Deployment Type's return code with some description.  Isn't this suppose to appear under the compliance report? Or am i misunderstanding how return code works?


Viewing all articles
Browse latest Browse all 4762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>