Srikantan Absent Member.
Absent Member.
345 views

Prevent Powershell Script printing in raw result OO 10.22 and Base CP 1.0.47

Hi,

I have developed a flow using Powershell script to fetch the remote Server Details. I am getting the required results.

But in the raw result, I am seeing the script which i used. I have used Invoke-command and password is visible in clear text on "Raw Result".

Can anyone help on the above issue. I am facing this issue on OO 10.22.

Regards,

Srikantan.

Labels (1)
0 Likes
4 Replies
Srinivaslogic
Visitor.

Re: Prevent Powershell Script printing in raw result

You can add input "hideResults" and set it to true, in case of operation failures output will no longer contain the powershell exception stacktrace details.

HTH,

Sri

0 Likes
Srikantan Absent Member.
Absent Member.

Re: Prevent Powershell Script printing in raw result

Hi Srinivas,

I am not able to see "hideResult" option.

0 Likes
Srinivaslogic
Visitor.

Re: Prevent Powershell Script printing in raw result

you need to add hideResults input .

0 Likes
Srikantan Absent Member.
Absent Member.

Re: Prevent Powershell Script printing in raw result

Hi Srini,

I have added it as an input and tried. But still I am able to see my script in "rawResult".

Regards,

Srikantan.

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.