September 12th, 2014

PowerTip: Find WMI Classes Related to Services

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to find WMI classes related to services that reveal start mode.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find a WMI class that will help me identify how services are starting?

Hey, Scripting Guy! Answer Use the Get-CimClass cmdlet, use a wildcard character for the name, and specify StartMode 
           as the property, for example:

Get-CimClass *service* -PropertyName startmode

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.

Feedback