February 11th, 2016

PowerTip: List all WMI classes

Doctor Scripto
Scripter

Summary: Use the Get-CimClass cmdlet to easily list all classes in current WMI namespace. Hey, Scripting Guy! Question How can I use Windows PowerShell to list all of the WMI classes in the current WMI namespace?

Hey, Scripting Guy! Answer Use the Get-CimClass cmdlet.

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.

1 comment

Discussion is closed. Login to edit/delete existing comments.

  • Michael Cook Sr.

    I couldn’t help but laugh and wanted to comment on this… normally ‘hey scripting guy!’ has these colorful stories and different ways to do stuff…… and this one was about 5 words long. Q : “Hey how do I do something really complicated?”A : “It’s not complicated, use GCIM”lol.