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

Doctor Scripto

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*


Discussion is closed.

Feedback usabilla icon