Execution Policy Snippets Get-ExecutionPolicy Get-ExecutionPolicy -List | Format-Table -AutoSize Set-ExecutionPolicy Set-ExecutionPolicy AllSigned <-- Will allow signed powershell scripts to run. Set-ExecutionPolicy Bypass <-- Nothing is blocked and there are no warnings or prompts. Set-ExecutionPolicy RemoteSigned <-- Allows unsigned local script and signed remote powershell scripts to run. Set-ExecutionPolicy Restricted <-- Will not allow any powershell scripts to run. Only individual commands may be run. Set-ExecutionPolicy Unrestricted <-- Will allow unsigned powershell scripts to run. Warns before running downloaded scripts. Set-ExecutionPolicy RemoteSigned -Force Set-ExecutionPolicy Restricted -Force Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Bypass -Force; Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted -Force; Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Restricted -Force;