| external help file | Module Name | online version | schema |
|---|---|---|---|
PSScriptTools-help.xml |
PSScriptTools |
2.0.0 |
Get the property qualifiers of a CIM class.
Get-CimClassPropertyQualifier [-ClassName] <String> [-Property <String>] [-Namespace <String>]
[-CimSession <CimSession>] [<CommonParameters>]This command is an alternative to Get-CimClass to make it easier to get information about property qualifiers of a WMI/CIM class. The default behavior is to query classes on the local host, but you can query a remote computer using the CimSession parameter. You can specify a computer name, or an existing CIMSession if you need alternate credentials.
PS C:\> Get-CimClassPropertyQualifier -ClassName Win32_Service -Property Name
Property: Root/Cimv2:Win32_Service [Name]
Name Value CimType Flags
---- ----- ------- -----
key True Boolean DisableOverride, ToSubclass
read True Boolean EnableOverride, ToSubclassThe default behavior is to show all qualifiers for all properties, but you are most likely to filter to subset of properties. The Property parameter supports wildcards.
Specify a computer name or an existing CimSession object.
Type: CimSession
Parameter Sets: (All)
Aliases: CN
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseSpecify a CIM Class.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseSpecify the class namespace beginning with Root\
Type: String
Parameter Sets: (All)
Aliases: NS
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecify a property name. Wildcards are permitted.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.