Share via


GetCimClassCommand.ComputerName Property

 

Gets and sets the ComputerName parameter. This parameter provides the name of the computer from which to retrieve the CimClass. If no computer name is specified the default value is the local host.

Namespace:   Microsoft.Management.Infrastructure.CimCmdlets
Assembly:  Microsoft.Management.Infrastructure.CimCmdlets (in Microsoft.Management.Infrastructure.CimCmdlets.dll)

Syntax

[AliasAttribute(new string[] { ... })]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ComputerSet")]
public string[] ComputerName { get; set; }
public:
[AliasAttribute(new array<String^>^ { ... })]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ComputerSet")]
property array<String^>^ ComputerName {
    array<String^>^ get();
    void set(array<String^>^ value);
}
[<AliasAttribute([| ... |])>]
[<ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ComputerSet")>]
member ComputerName : string[] with get, set
<AliasAttribute(New String() { ... })>
<ParameterAttribute(ValueFromPipelineByPropertyName := True, ParameterSetName := "ComputerSet")>
Public Property ComputerName As String()

Property Value

Type: System.String[]

Returns String.

See Also

GetCimClassCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top