I try to run powershell
script from c#.
First i set the ExecutionPolicy
to Unrestricted
and the script is running now from
If you are using visual studio code:
This is related to protractor test script execution related and I faced the same issue and it was resolved like this.
open windows powershell in administrator mode and run the following command and its work VOILA!!
Set-ExecutionPolicy RemoteSigned
I think you can use the powershell in administrative mode or command prompt.