September 20th, 2013

PowerTip: Use PowerShell 3.0 to Find WMI Classes

Doctor Scripto
Scripter

Summary: Use Windows PowerShell 3.0 to find WMI classes that create stuff.

Hey, Scripting Guy! Question How can I use Windows PowerShell 3.0 to find WMI classes that can create stuff?

Hey, Scripting Guy! Answer Use the Get-CimClass cmdlet and specify the Create value to the MethodName parameter:

Get-CimClass -MethodName create

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.