ExecutionPolicyScope Enum

Definition

Defines the available configuration scopes for an execution policy. They are in the following priority, with successive elements overriding the items that precede them: LocalMachine -> CurrentUser -> Runspace.

public enum class ExecutionPolicyScope
Inheritance
ExecutionPolicyScope

Fields

Name Value Description
Process 0
CurrentUser 1
LocalMachine 2
UserPolicy 3
MachinePolicy 4

Applies to