PowerTip: Use PowerShell to Find WMI Classes with a Specific Property

Summary: Use Windows PowerShell to find WMI classes that contain a specific property.

Hey, Scripting Guy! Question How can I use Windows PowerShell to help find a WMI class that contains a specific property?

Hey, Scripting Guy! Answer Use the Get-CimClass cmdlet in Windows PowerShell 3.0, and use the specific property name or a wildcard pattern to help you find the class:

Get-CimClass -PropertyName version

Get-CimClass -PropertyName *acl*

Comments (1)

  1. Well I can't fault you for being too verbose on this.  Are there any plans for a Scripting guy article or articles on an Introduction to CIM?  I need to figure them out before I get crushed in the Scripting games!

Skip to main content