top of page
Search

This execution policy won't execute!

  • ToddimusPrime
  • May 13, 2021
  • 1 min read

I hate it when I'm trying to set my PowerShell execution policy to 'unrestricted' but end up with an error stating that the execution policy was updated, but overridden by a policy defined at a more specific scope. It just ruins my whole day.


Luckily it's easy to fix. Hit it with the following line to view all of the specific execution policy scopes


Get-ExecutionPolicy -List

Set the individual scopes with the following


Set-ExecutionPolicy -Scope <PUT THE SCOPE NAME HERE> -ExecutionPolicy Unrestricted

Hooray, you've done it!

Comments


©2021 by ToddimusPrime

bottom of page