about_Execution_Policies — by Microsoft Learn
Explains what PowerShell execution policies are, the available levels (Restricted, RemoteSigned, AllSigned, Bypass and others) and the scopes they apply to. It also stresses the policy is a safety net rather than a security boundary, and shows how to check and change it per user, machine or session. Loosening it (for example Unrestricted or Bypass) reduces protection, so prefer the narrowest scope.
Quick steps
- Check the effective policy with Get-ExecutionPolicy -List
- Change it for just your account with Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
- Use Unblock-File for a single downloaded script instead of loosening the policy
Paraphrased from the source. Menus can differ by version, so check the original for full details.
Source: about_Execution_Policies by Microsoft Learn. Licence: Link only (©).
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me