Our LANdesk environment has grown over the years and was managed by different people...Now, I'm in charge.
I created a universal PowerShell install/uninstall framework. It exits with either 0, 3010, 3011 or with any other error code that the installer returns.
But why does the console report "failed" when it shows me my custom success message for error code 0 or 3010?????
I'm running a deployment on 311 clients but only 99 report success. 68 ran successfully but report error 1110. Despite showing column "result" = successful within the same view because of 0/3010. Somehow these error codes are later replaced/overwritten by 1110 so that the console reports failed. Why? Why? Why?
It DOES work, too. But not always....
That's my return code template:
Any hint is very appreciated.
I'm on 9.6 sp1 but cannot upgrade.