RemoveCimSessionCommand.ComputerName Property
Gets and sets the ComputerName parameter, which specifies one or more computer names for which all CIM sessions (connections) should be removed (terminated). This is the only optional parameter. If no value is provided for this parameter, all sessions are terminated.
Namespace: Microsoft.Management.Infrastructure.CimCmdlets
Assembly: Microsoft.Management.Infrastructure.CimCmdlets (in Microsoft.Management.Infrastructure.CimCmdlets.dll)
Syntax
[AliasAttribute(new string[] { ... })]
[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true,
ParameterSetName = "ComputerNameSet")]
public string[] ComputerName { get; set; }
public:
[AliasAttribute(new array<String^>^ { ... })]
[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true,
ParameterSetName = "ComputerNameSet")]
property array<String^>^ ComputerName {
array<String^>^ get();
void set(array<String^>^ value);
}
[<AliasAttribute([| ... |])>]
[<ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true,
ParameterSetName = "ComputerNameSet")>]
member ComputerName : string[] with get, set
<AliasAttribute(New String() { ... })>
<ParameterAttribute(Mandatory := True, Position := 0, ValueFromPipelineByPropertyName := True,
ParameterSetName := "ComputerNameSet")>
Public Property ComputerName As String()
Property Value
Type: System.String[]
Returns String.
See Also
RemoveCimSessionCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace
Return to top