ReceivePSSessionCommand.Name Property

Definition

Name of PSSession object to receive data from.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ Name { Platform::String ^ get(); void set(Platform::String ^ value); };
public string Name { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="SessionName", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerSessionName")]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriSessionName")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string Name { get; set; }
member this.Name : string with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="SessionName", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerSessionName")>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriSessionName")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Name : string with get, set
Public Property Name As String

Property Value

Attributes

Applies to