Partilhar via


NewCimSessionCommand.ComputerName Property

Definition

The following is the definition of the input parameter "ComputerName". Specifies the computer on which the commands associated with this session will run. The default value is LocalHost.

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

Property Value

String[]
Attributes

Applies to