Trying to run powershell from command and you get - “execution of scripts is disabled on this system.”


First off, you can enable powershell execution script for good. The only problem is powershell comes in 32bit and 64bit. This probably cuz Windows itself allow this.

In order to ensure you're able to run powershell in both environment without problem, you need to do the following :-

For 32 bit machine
Open C:\Windows\SysWOW64\cmd.exe
Execute this line  powershell Set-ExecutionPolicy RemoteSigned
For 64 bit machine 
Open C:\Windows\system32\cmd.exe
Execute this line  powershell Set-ExecutionPolicy RemoteSigned

Comments

Popular posts from this blog

ionic2 cordova build android - Unable resolve gradle 2.2.3

A quick tutorial for OWASP ZAP tool for beginners