Share via


RemoveCimSessionCommand.ComputerName Property

Definition

The following is the definition of the input parameter "ComputerName". Specified one or more computer names for which all CimSession(s) (connections) should be removed (terminated).

This is the only optional parameter. If no value for this parameter is provided, all CimSession(s) are terminated.

public string[] ComputerName { get; set; }
[System.Management.Automation.Alias(new System.String[] { "CN", "ServerName" })]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerNameSet", Position=0, 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(Mandatory=true, ParameterSetName="ComputerNameSet", Position=0, ValueFromPipelineByPropertyName=true)>]
member this.ComputerName : string[] with get, set
Public Property ComputerName As String()

Property Value

String[]
Attributes

Applies to