Hello,
I work actualy with Landesk 9.0 SP3.
I want to deploy on some computer a powershell script and I want to take the exit code from powershell as return code for the déployment on the computer.
As prove of concept I tested with a file test.ps1 :
exit (1)
As I déploy this on my computer, it return always 0.
(the deployment went well)
And that's true, the script was executed on my computer.
I don't want this result, I want an error on the distribution result.
How is it possible ?
Thank's