GetCimInstanceCommand.Property Property
Gets and sets the Property parameter, which enables the user to specify instances with specific property values. Example: -Property @{P1="Value1";P2="Value2"}
Namespace: Microsoft.Management.Infrastructure.CimCmdlets
Assembly: Microsoft.Management.Infrastructure.CimCmdlets (in Microsoft.Management.Infrastructure.CimCmdlets.dll)
Syntax
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ClassNameSessionSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ClassNameComputerSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ResourceUriSessionSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ResourceUriComputerSet")]
[AliasAttribute(new string[] { ... })]
public string[] Property { get; set; }
public:
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ClassNameSessionSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ClassNameComputerSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ResourceUriSessionSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ResourceUriComputerSet")]
[AliasAttribute(new array<String^>^ { ... })]
property array<String^>^ Property {
array<String^>^ get();
void set(array<String^>^ value);
}
[<ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ClassNameSessionSet")>]
[<ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ClassNameComputerSet")>]
[<ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ResourceUriSessionSet")>]
[<ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "ResourceUriComputerSet")>]
[<AliasAttribute([| ... |])>]
member Property : string[] with get, set
<ParameterAttribute(ValueFromPipelineByPropertyName := True, ParameterSetName := "ClassNameSessionSet")>
<ParameterAttribute(ValueFromPipelineByPropertyName := True, ParameterSetName := "ClassNameComputerSet")>
<ParameterAttribute(ValueFromPipelineByPropertyName := True, ParameterSetName := "ResourceUriSessionSet")>
<ParameterAttribute(ValueFromPipelineByPropertyName := True, ParameterSetName := "ResourceUriComputerSet")>
<AliasAttribute(New String() { ... })>
Public Property Property As String()
Property Value
Type: System.String[]
Returns String.
See Also
GetCimInstanceCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace
Return to top