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

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

  • Comments 1
  • Likes

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*

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • <p>Well I can&#39;t fault you for being too verbose on this. &nbsp;Are there any plans for a Scripting guy article or articles on an Introduction to CIM? &nbsp;I need to figure them out before I get crushed in the Scripting games!</p>