ZeKroustibat Absent Member.
Absent Member.
322 views

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

Labels (1)
0 Likes
1 Reply
pavanjadda Absent Member.
Absent Member.

Re: Retrieve Exit Code from Powershell Script in OO

Hello,

 

I don't understand your question. Usually the output in captured in stdout, but if you need complete result of the command, please refer to result and extract the portion of the exit code.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.