PowerTip: Find WMI Classes by Using PowerShell

Doctor Scripto

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*

0 comments

Discussion is closed.

Feedback usabilla icon