Share via


NewCimSessionCommand.ComputerName Property

 

Gets and sets the ComputerName parameter, which specifies the computer on which the commands associated with this session will run. The default 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(Position = 0, ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmptyAttribute]
public string[] ComputerName { get; set; }
public:
[AliasAttribute(new array<String^>^ { ... })]
[ParameterAttribute(Position = 0, ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmptyAttribute]
property array<String^>^ ComputerName {
    array<String^>^ get();
    void set(array<String^>^ value);
}
[<AliasAttribute([| ... |])>]
[<ParameterAttribute(Position = 0, ValueFromPipelineByPropertyName = true)>]
[<ValidateNotNullOrEmptyAttribute>]
member ComputerName : string[] with get, set
<AliasAttribute(New String() { ... })>
<ParameterAttribute(Position := 0, ValueFromPipelineByPropertyName := True)>
<ValidateNotNullOrEmptyAttribute>
Public Property ComputerName As String()

Property Value

Type: System.String[]

Returns String.

See Also

NewCimSessionCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top