InvokeCommandCommand.JobName Property

Definition

Friendly name for the job object if AsJob is used.

public:
 property System::String ^ JobName { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ JobName { Platform::String ^ get(); void set(Platform::String ^ value); };
public string JobName { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="ContainerId")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathContainerId")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathRunspace")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathUri")]
[System.Management.Automation.Parameter(ParameterSetName="Session")]
[System.Management.Automation.Parameter(ParameterSetName="SSHHost")]
[System.Management.Automation.Parameter(ParameterSetName="SSHHostHashParam")]
[System.Management.Automation.Parameter(ParameterSetName="Uri")]
public string JobName { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="ContainerId")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathContainerId")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathRunspace")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathUri")]
[System.Management.Automation.Parameter(ParameterSetName="Session")]
[System.Management.Automation.Parameter(ParameterSetName="Uri")]
public string JobName { get; set; }
member this.JobName : string with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="ContainerId")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathContainerId")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathRunspace")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathUri")>]
[<System.Management.Automation.Parameter(ParameterSetName="Session")>]
[<System.Management.Automation.Parameter(ParameterSetName="SSHHost")>]
[<System.Management.Automation.Parameter(ParameterSetName="SSHHostHashParam")>]
[<System.Management.Automation.Parameter(ParameterSetName="Uri")>]
member this.JobName : string with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="ContainerId")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathContainerId")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathRunspace")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathUri")>]
[<System.Management.Automation.Parameter(ParameterSetName="Session")>]
[<System.Management.Automation.Parameter(ParameterSetName="Uri")>]
member this.JobName : string with get, set
Public Property JobName As String

Property Value

Attributes

Applies to