What does PowerShell's execution policy control?

The conditions for loading configuration files and running scripts.

Start playing free

  1. Which monitors PowerShell can use
  2. When PowerShell loads configuration files and runs scripts ✔
  3. How fast the shell can type

Why: Execution policy is a safety feature that helps prevent running malicious scripts. It applies to configuration files as well as scripts.

Huh, didn't know that: On Windows clients the effective default policy is Restricted, which allows single commands but no scripts.

The dad joke
!false: it's funny because it's true.
Like this card?
Play the game

References

Answer: When PowerShell loads configuration files and runs scripts. Execution policy is a safety feature that helps prevent running malicious scripts. It applies to configuration files as well as scripts.

  1. About Execution Policies, Microsoft Learn learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies
    PowerShell's execution policy is a safety feature that controls the conditions under which PowerShell loads configuration files and runs scripts.
    Checked 2026-10-10.
  2. About Execution Policies, Microsoft Learn learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies
    the effective execution policy is Restricted for Windows clients and RemoteSigned for Windows Server.
    Checked 2026-10-10.
  3. About Execution Policies, Microsoft Learn learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies
    Restricted Permits individual commands, but doesn't allow scripts.
    Checked 2026-10-10.

Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.

Test yourself in the game