top of page

Set PowerShell Execution Policy for Current User

if you want to run the scripts or execute some downloaded scripts, You will end of with the error cannot be loaded because running scripts is disabled on this system.


it happens by default,PowerShell is restricted with execution policy.Hence that it is not allowed to execute the PowerShell scripts.


You can run the command Set-ExecutionPolicy -ExecutionPolicy Unrestricted to unblock. Wherein you need to have admin privilege to get this enabled. Most of the corporate companies will not provide the admin access to the normal users.


In such scenarios, We can go ahead and do it only for the current user which will not ask for admin access to make unrestrcited using the below command

           Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted


Refer the Article for more details to know more about the Execution Policy.

3 views0 comments


bottom of page