Sdílet prostřednictvím


PSRemotingBaseCmdlet.ComputerName Property

Definition

This parameter represents the address(es) of the remote computer(s). The following formats are supported: (a) Computer name (b) IPv4 address : 132.3.4.5 (c) IPv6 address: 3ffe:8311:ffff:f70f:0:5efe:172.30.162.18.

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 virtual string[] ComputerName { get; set; }
[System.Management.Automation.Alias(new System.String[] { "Cn" })]
[System.Management.Automation.Parameter(ParameterSetName="ComputerName", Position=0, ValueFromPipelineByPropertyName=true)]
public virtual string[] ComputerName { get; set; }
member this.ComputerName : string[] with get, set
[<System.Management.Automation.Alias(new System.String[] { "Cn" })>]
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName", Position=0, ValueFromPipelineByPropertyName=true)>]
member this.ComputerName : string[] with get, set
Public Overridable Property ComputerName As String()

Property Value

String[]
Attributes

Applies to