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
I think you can use the powershell in administrative mode or command prompt.