Skip to main content

I am tried to display the powershell output in A360 community version but I am unable to display the output. Kindly help me to resolve this issue. I used runscript action as well but no luck

 

Hi ​@Ram M S ,

 

The best option for you is to run the script using a ps1 file and capture the output thereafter.

 

That is, save your script in a file of .ps1 format and run it using the File → Open action. After that, use the Capture text of window action of App Integration package to extract the output from the Powershell.

 

 

One more method you can try is, Application → Open (To open the Powershell), then use the Simulate Keystrokes action to pass your script and finally, Capture text of window action of App Integration package to extract the output from the Powershell.

 


Hi ​@Padmakumar ,

 

If i tried to open the PS script in file it just opening the file in notepad and it not getting execute so kindly detailed the process.

By using capture text action, I am unable to get all data from my script. It is capturing the recent windows data only for example to check the services in windows machine it able to display the 20 services which available on recent windows. 


Hi ​@Padmakumar ,

 

If i tried to open the PS script in file it just opening the file in notepad and it not getting execute so kindly detailed the process

 

The format should be .ps1 (Eg.: script.ps1). If still having issue then, try to open the script manually once and see if it is opening in Powershell or not.


Reply