Dela via


SetExecutionPolicyCommand.ExecutionPolicy Property

Definition

Gets or sets the execution policy that the user requests.

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

Property Value

Attributes

Applies to