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

The specified initialization vector (IV) does not match the block size for this algorithm