GetCimInstanceCommand.InputObject Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The following is the definition of the input parameter "InputObject". Provides the Microsoft.Management.Infrastructure.CimCmdlets.GetCimInstanceCommand.CimInstance that containing the [Key] properties, based on the key properties to retrieve the Microsoft.Management.Infrastructure.CimCmdlets.GetCimInstanceCommand.CimInstance.
User can call New-CimInstance to create the CimInstance with key only properties, for example: New-CimInstance -ClassName C -Namespace root\cimv2 -Property @{CreationClassName="CIM_VirtualComputerSystem";Name="VM3358"} -Keys {"CreationClassName", "Name"} -Local
public Microsoft.Management.Infrastructure.CimInstance InputObject { get; set; }
[System.Management.Automation.Alias(new System.String[] { "CimInstance" })]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="CimInstanceComputerSet", Position=0, ValueFromPipeline=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="CimInstanceSessionSet", Position=0, ValueFromPipeline=true)]
public Microsoft.Management.Infrastructure.CimInstance InputObject { get; set; }
member this.InputObject : Microsoft.Management.Infrastructure.CimInstance with get, set
[<System.Management.Automation.Alias(new System.String[] { "CimInstance" })>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="CimInstanceComputerSet", Position=0, ValueFromPipeline=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="CimInstanceSessionSet", Position=0, ValueFromPipeline=true)>]
member this.InputObject : Microsoft.Management.Infrastructure.CimInstance with get, set
Public Property InputObject As CimInstance
Property Value
- Attributes