I try to run powershell script from c#.
powershell
First i set the ExecutionPolicy to Unrestricted and the script is running now from
ExecutionPolicy
Unrestricted
Open powershell in administrative mode and run the following command
Set-ExecutionPolicy RemoteSigned