Partager via


ConnectPSSessionCommand.ComputerName Property

Definition

Computer names to connect to.

public:
 virtual property cli::array <System::String ^> ^ ComputerName { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public:
 virtual property Platform::Array <Platform::String ^> ^ ComputerName { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
public override string[] ComputerName { get; set; }
[System.Management.Automation.Alias(new System.String[] { "Cn" })]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerName", Position=0)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerNameGuid")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public override 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)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerNameGuid")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.ComputerName : string[] with get, set
Public Overrides Property ComputerName As String()

Property Value

String[]
Attributes

Applies to