Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Finding WMI classes that contain methods

Summary: Learn how to find methods from WMI classes. Sometimes when working with WMI, it might seem as if you are entering a strange territory with dangers lurking around every corner. Unfortunately, there might not even be a sign such as the following to alert you to the hidden dangers: (image) But by using the CIM cmdlets, we can bring a...

Use CIM cmdlets to find WMI classes

Summary: Learn how to locate the right WMI class by using the Get-CimClass cmdlet to work through the class schema. Windows Management Instrumentation (WMI) came into the Windows world around the time of the Windows NT 4.0 Service Pack 4—that’s about the same time as the release of Star Wars 1: The Phantom Menace. One of the really cool ...