NewCimInstanceCommand.Key Property

Definition

The following is the definition of the input parameter "Key". Enables the user to specify list of key property name.

Example: -Key {"K1", "K2"}

public string[] Key { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ClassNameSessionSet", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="ClassNameComputerSet", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="ResourceUriSessionSet", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(ParameterSetName="ResourceUriComputerSet", ValueFromPipelineByPropertyName=true)]
public string[] Key { get; set; }
member this.Key : string[] with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ClassNameSessionSet", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="ClassNameComputerSet", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="ResourceUriSessionSet", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(ParameterSetName="ResourceUriComputerSet", ValueFromPipelineByPropertyName=true)>]
member this.Key : string[] with get, set
Public Property Key As String()

Property Value

String[]
Attributes

Applies to