PowerTip: Easily Find WMI Class Schema Information with PowerShell

Doctor Scripto

Summary: Use a one-line command to obtain WMI class schema (MOF) information.

Hey, Scripting Guy! Question How can I use Windows PowerShell to display the MOF of a WMI class?

Hey, Scripting Guy! Answer Use the WMIClass type accelerator, and then call the static GetText method whilst supplying the word MOF:



Discussion is closed.

Feedback usabilla icon