hi guys, i try to use invoke powershell activity, i read the script file first, get the value, and use it in invoke powershell activity, but i get this error
it works perfectly fine when i run it on powershell
any suggestions ?
this is my script
scriptMain.zip (680 Bytes)
As I see inside your PS script you are using
Import-Excel command. You could try run Studio with administrative privileges. This may help.
Hello RobertoEwaldo, have you been able to resolve this issue? I am experiencing a similar issue with a different module, that is installed on my machine and when I execute my powershell script on it’s own, it works flawlessly, but when trying to invoke it on OU path I get a similar error. I haven’t had any luck finding the answer.
I have the same issue with a different module. Did anybody find a solution to this. Can UIPath not run Powershell scripts that use installed modules?
i add this line before the Import-Excel and it works for me
Import-Module ImportExcel -Force
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.