Thursday, 14 November 2013

.PS1 cannot be loaded because running scripts is disabled on this system.

Unable run PowerShell file (.ps1) in Command Prompt.


Method

1. Run command Prompt as Administrator
2. Go C:\Windows\SysWOW64\WindowsPowerShell\v1.0 diretory
3. Type powershell.exe -command set-executionpolicy unrestricted

No comments:

Post a Comment