PowerTip: Find WMI Classes by Using PowerShell


Summary: Use Windows PowerShell to find WMI classes.

Hey, Scripting Guy! Question I am searching for a WMI class to help me find information about Windows startup configuration.
           I am unsure of the class name. How can I use Windows PowerShell to help me find the class (assuming it exists)?

Hey, Scripting Guy! Answer Use the Get-CimClass CIM cmdlet that was introduced in Windows PowerShell 3.0.
           Here is an example of using the Get-CimClass cmdlet to find Windows startup information.

 Get-Cimclass win32_st*

Comments (1)

  1. Or try out the new Powershell GUI Application – WIN 32 Class Explorer that presents the WIN32 Classes sorted by functional type and sorted by name.

    Operating System Classes
    Operating System Settings
    WIN32_StartupCommand

    Powershell GUI Application – WIN 32 Class Explorer
    http://gallery.technet.microsoft.com/Powershell-GUI-Application-a884a710

Skip to main content