Would you like to learn how to change the Powershell execution policy? In this tutorial, we are going to show you how to change the Powershell execution policy on a computer running Windows.

• Windows 7
• Windows 10
• Windows 2012
• Windows 2016

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Related tutorial - PowerShell

On this page, we offer quick access to a list of tutorials related to PowerShell.

Tutorial PowerShell - Changing the Execution Policy

On the Start menu, search for an application named: Windows PowerShell.

Right-click on the Windows PowerShell application and select the option: Run as Administrator.

Powershell on Start menu

Verify the PowerShell execution policy being used.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

Change the PowerShell execution policy value to Unrestricted.

Copy to Clipboard

The system will request you to confirm your decision.

Copy to Clipboard

In our example, we changed the local machine PowerShell scope from restricted to unrestricted.

This will affect all users of this computer.

If you wish to change the PowerShell policy only to the current user, use the following command instead.

Copy to Clipboard

Congratulations! You have finished the configuration of the PowerShell execution policy.