Uninstall-ADTApplication -IgnoreExitCodes

As per this thread, it will come in 4.1.0. Any suggestions how to ignore the exit code for now without having to resort to using our own code to replace Uninstall-ADTApplication?

Just put it in a try/catch block and run your own check in the catch block. Couldn’t take more than 4-5 short lines.

1 Like