UiPath Studio Version: 19.7
Problem: Failed to call powershell scripts with the following exception:
Message: File C:\tdrive\test.ps1 cannot be loaded because the execution of scripts is disabled on this system … Exception Type: System.Management.Automation.PSSecurityException.
I run Uipath Studio with the administrator account and I can run the scripts from command line. When I run the command “get-ExecutionPolicy -Scope LocalMachine” it returns “unrestricted”. Seems everything is OK?
Could you please help on it?
Thanks.