Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

PowerTip: Use the Get-Cimclass Cmdlet to Find WMI Properties

$
0
0

Summary: Use Windows PowerShell 3.0 to find specific WMI properties.

Hey, Scripting Guy! Question How do I find what WMI class contains the Service Pack property?

Hey, Scripting Guy! Answer Charlotte PowerShell User Group member Brian Wilhite says: The easiest way to find the WMI class or classes that contain the “Service Pack” property, you’ll use theGet-CimClass cmdlet with the -PropertyName parameter and specify a wild card search.

Get-CimClass -PropertyName *servicepack*

 


Viewing all articles
Browse latest Browse all 36188

Trending Articles