Share via


NewCimInstanceCommand.ComputerName Property

Definition

The following is the definition of the input parameter "ComputerName". Provides the name of the computer from which to create the instances.

If no ComputerName is specified the default value is "localhost"

public string[] ComputerName { get; set; }
[System.Management.Automation.Alias(new System.String[] { "CN", "ServerName" })]
[System.Management.Automation.Parameter(ParameterSetName="ClassNameComputerSet", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="ResourceUriComputerSet", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="CimClassComputerSet", ValueFromPipelineByPropertyName=true)]
public string[] ComputerName { get; set; }
member this.ComputerName : string[] with get, set
[<System.Management.Automation.Alias(new System.String[] { "CN", "ServerName" })>]
[<System.Management.Automation.Parameter(ParameterSetName="ClassNameComputerSet", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="ResourceUriComputerSet", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="CimClassComputerSet", ValueFromPipelineByPropertyName=true)>]
member this.ComputerName : string[] with get, set
Public Property ComputerName As String()

Property Value

String[]
Attributes

Applies to