Hi, I am working on Error-Handling in powershell when its calling external program. I implemented the idea mentioned by "kmcferrin" in thread1619-1630993: Powershell and $LastExitCode. Its working great. BUT, I also need to get the ERROR Details Text with LastExitCode.
Is there any suggestion?
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.