chocolatey/chocolatey — Issue #66: Issue setting execution policy
Author: joeandaverde
Created: 2012-02-08 16:00:28+00:00
State: open

When I attempt to set the execution policy as per the install steps this is what I get:

Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by a
policy defined at a more specific scope. Due to the override, your shell will retain its current effective execution
policy of "RemoteSigned". Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more information
, please see "Get-Help Set-ExecutionPolicy."
At line:1 char:20
+ Set-ExecutionPolicy <<<< Unrestricted
+ CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], SecurityException
+ FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand

Once I run the execution list as suggested this is what I get:

Scope ExecutionPolicy
----- ---------------
MachinePolicy RemoteSigned
UserPolicy Undefined
Process Undefined
CurrentUser Undefined
LocalMachine Unrestricted

What can I do to make it work?