Home > Quick Guides > How to Enable PowerShell Scripts on Windows 10
Start by clicking on the "Start" button, type "PowerShell" in the search bar, right-click on "Windows PowerShell," and select "Run as administrator."
In the PowerShell window, type `Get-ExecutionPolicy` and press Enter. This command will display the current execution policy.
To enable PowerShell scripts, type `Set-ExecutionPolicy RemoteSigned` and press Enter. This policy allows scripts to run if they are signed by a trusted publisher..
You will be prompted to confirm the change. Type `Y` and press Enter to proceed..
To ensure the change was successful, type `Get-ExecutionPolicy` again and press Enter. It should now display "RemoteSigned.".
Once you've verified the new execution policy, you can close the PowerShell window..
Leave a Reply.