Partilhar via


InitialSessionState.ExecutionPolicy Property

Definition

Specifies the execution policy to be used for this session state instance.

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; }
member this.ExecutionPolicy : Microsoft.PowerShell.ExecutionPolicy with get, set
Public Property ExecutionPolicy As ExecutionPolicy

Property Value

Applies to