July 27th, 2014

PowerTip: Use PowerShell to Find WMI Classes for Creating

Doctor Scripto
Scripter

Summary: Learn to find WMI classes that permit creating stuff.

Hey, Scripting Guy! Question How can I use Windows PowerShell to help me find WMI classes that will permit me to create stuff?

Hey, Scripting Guy! Answer Use the Get-CimClass cmdlet, and specify the MethodName of create:

Get-CimClass -MethodName create

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.