Dela via


GetExecutionPolicyCommand.Scope Property

Definition

Gets or sets the scope of the execution policy.

public:
 property Microsoft::PowerShell::ExecutionPolicyScope Scope { Microsoft::PowerShell::ExecutionPolicyScope get(); void set(Microsoft::PowerShell::ExecutionPolicyScope value); };
public:
 property Microsoft::PowerShell::ExecutionPolicyScope Scope { Microsoft::PowerShell::ExecutionPolicyScope get(); void set(Microsoft::PowerShell::ExecutionPolicyScope value); };
public Microsoft.PowerShell.ExecutionPolicyScope Scope { get; set; }
[System.Management.Automation.Parameter(Mandatory=false, Position=0, ValueFromPipelineByPropertyName=true)]
public Microsoft.PowerShell.ExecutionPolicyScope Scope { get; set; }
member this.Scope : Microsoft.PowerShell.ExecutionPolicyScope with get, set
[<System.Management.Automation.Parameter(Mandatory=false, Position=0, ValueFromPipelineByPropertyName=true)>]
member this.Scope : Microsoft.PowerShell.ExecutionPolicyScope with get, set
Public Property Scope As ExecutionPolicyScope

Property Value

Attributes

Applies to