How to extract $lastexitcode from c# powershell script execution.
- by scope-creep
Hi,
I've got a scipt executing in C# using the powershell async execution code on code project here:
http://www.codeproject.com/KB/threads/AsyncPowerShell.aspx?display=PrintAll&fid=407636&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=2130851#xx2130851xx
I need to return the $lastexitcode and Jean-Paul describes…