Share via


EnterPSSessionCommand.ComputerName Property

Definition

Computer name parameter.

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="ComputerName", Position=0, ValueFromPipeline=true, 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="ComputerName", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.ComputerName : string with get, set
Public Property ComputerName As String

Property Value

Attributes

Applies to