WMI Command-line Tools

WMI has several command line tools used by administrators and WMI provider writers.

Section Description
mofcomp Compiles Managed Object Format (MOF) code into binary form stored in the WMI repository. Use when creating or modifying the MOF file for a WMI provider.
smi2smir Accepts one SNMP information module as input, and accepts any additional modules necessary to resolve external references.
winmgmt Runs the WMI service. Beginning with Windows Vista, several new switches have been added.
wmiadap Runs the ADAP command-line tool to parse and transfer performance libraries to the WMI repository.
wmic Performs WMI operations at command prompt.

WMI Reference