Retrieve Exit Code from Powershell Script in OO

Hello Everyboby,

How can i retrieve the error code from a powershell script in OO without use the stdout if my code exit a special error code ?

Thanks in advance