Quantcast
Viewing all articles
Browse latest Browse all 34890

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

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

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Question
 How can I use Windows PowerShell to help find a WMI class that contains a specific property?

Image may be NSFW.
Clik here to view.
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*

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 34890

Trending Articles