SetExecutionPolicyCommand.ExecutionPolicy 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 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