Why a Script Won't Run: The Execution Policy
PowerShell's execution policy decides which script files may run; Get-ExecutionPolicy -List shows who set it, RemoteSigned for your own account lets your scripts run, and Unblock-File clears a downloaded script you've read and trust.
Updated

- Category
- PowerShell
- Level
- Apprentice
- Tags
- execution-policy, mark-of-the-web, powershell, script-file, unblock-file