GetExecutionPolicyCommand.Scope Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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