Powershell ExecutionPolicy is wrong when run through VisualStudio Powershell ExecutionPolicy is wrong when run through VisualStudio powershell powershell

Powershell ExecutionPolicy is wrong when run through VisualStudio


Did you set the execution policy in both the 64 and 32 bit Powershell environments? Your 64 bit machine will have both, and each has it's own executionpolicy setting.