Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

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 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>