# Execution Policies [List of Execution Policies - PowerShell | Microsoft Learn](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.4#powershell-execution-policies) # Default Default is "Restricted". ```PowerShell Set-ExecutionPolicy -ExecutionPolicy Default ``` ```PowerShell Set-ExecutionPolicy -ExecutionPolicy Restricted ``` # Set Unrestricted ```PowerShell Set-ExecutionPolicy -ExecutionPolicy Unrestricted ```