PowerTip: List all WMI classes

Doctor Scripto

Dr Scripto

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.

1 comment

Comments are closed.

  • Michael Cook Sr.
    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.