loading
 
Running PowerShell scripts in RR
Dawson from Malaysia  [173 posts]
4 years
Hi STeven,

Does RR support running the .ps1 file type? It would be interesting to enable RR to manipulate the windows file system.
Steven Gentner from United States  [1370 posts] 4 years
Nope, doesn't support that. You could call a powershell script from the program modules so that's certainly possible.

http://www.roborealm.com/help/Execute_Program.php

STeven.
Dawson from Malaysia  [173 posts] 4 years
Ok great. Thanks
Dawson from Malaysia  [173 posts] 4 years
Hi STeven,

I tried to load the powershell script from the execute program module as you advised but when i select the file i get the error "only exe files supported". Pls help.
Steven Gentner from United States  [1370 posts] 4 years
Dawson,

You can't just type in the .ps extension as that doesn't execute. You need to find that powershell exe and send your filename as a parameter to that program.

To test, you can try it in a cmd console. I.e. something like

c:\path\to\powershell.exe c:\temp\my_program

STeven.

Dawson from Malaysia  [173 posts] 4 years
ok great it works now. thanks

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index