Partager via


StartJobCommand.PSVersion Property

Definition

Powershell Version to execute the background job.

public:
 virtual property Version ^ PSVersion { Version ^ get(); void set(Version ^ value); };
public virtual Version PSVersion { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="LiteralFilePathComputerName")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public virtual Version PSVersion { get; set; }
member this.PSVersion : Version with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="LiteralFilePathComputerName")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.PSVersion : Version with get, set
Public Overridable Property PSVersion As Version

Property Value

Attributes

Applies to