Compartir a través de


InvokeCimMethodCommand.ComputerName Property

Definition

The following is the definition of the input parameter "ComputerName". Provides the name of the computer from which to invoke the method. The ComputerName is used to create a temporary CimSession with default parameter values, which is then used to retrieve 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="QueryComputerSet", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="CimInstanceComputerSet")]
[System.Management.Automation.Parameter(ParameterSetName="CimClassComputerSet", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="ResourceUriComputerSet", 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="QueryComputerSet", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="CimInstanceComputerSet")>]
[<System.Management.Automation.Parameter(ParameterSetName="CimClassComputerSet", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="ResourceUriComputerSet", ValueFromPipelineByPropertyName=true)>]
member this.ComputerName : string[] with get, set
Public Property ComputerName As String()

Property Value

String[]
Attributes

Applies to