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
Another solution is Remove ng.ps1 from the directory C:\Users%username%\AppData\Roaming\npm\ and clearing the npm cache