Share via


GetCimSessionCommand.ComputerName Property

 

Gets and sets the ComputerName parameter, which specifies one or more connections by providing their computer names. The cmdlet then opens CIM sessions with those connections.

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

Syntax

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

Property Value

Type: System.String[]

Returns String.

See Also

GetCimSessionCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top