NewPSSessionCommand.ComputerName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 override string[] ComputerName { get; set; }
[System.Management.Automation.Alias(new System.String[] { "Cn" })]
[System.Management.Automation.Parameter(ParameterSetName="ComputerName", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)]
[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(ParameterSetName="ComputerName", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.ComputerName : string[] with get, set
Public Overrides Property ComputerName As String()
Property Value
String[]
- Attributes