pssecurityexception unauthorized access – Set-ExecutionPolicy

When I try to use Azure Powershell, I see that it does not run with a pssecurity exception error. This can be resolved by changing the security settings.


First, the command to check the currently set value is Get-ExecutionPolicy.


To execute the Azure power cell command, set ExecutionPolicy to RemoteSigned by using Set-ExecutionPolicy and configure to enable remote authentication.

As shown in the figure below, you can run Azure Power Cell by executing the power cell and changing it by remote authentication.


Facebook Comments

Leave A Reply

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다

This site uses Akismet to reduce spam. Learn how your comment data is processed.