Dela via


ReceivePSSessionCommand.ComputerName Property

Definition

Computer name to receive session data from.

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

Property Value

Attributes

Applies to