December 1st, 2012

PowerTip: Find Updatable WMI Classes

Doctor Scripto
Scripter

Summary: Learn how to use Windows PowerShell 3.0 to easily find WMI classes you can update.

Hey, Scripting Guy! Question How can I find WMI classes that support updating?

Hey, Scripting Guy! AnswerUse the Get-Cimclass cmdlet and a wild card for the WMI class name. Then, look for the class qualifier of supportsupdate, as shown here.

Get-CimClass -ClassName * -QualifierName supportsupdate

 

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.