[This is preliminary documentation and subject to change.]
A static MOF file does not contain the name of its associated namespace, which must be specified when loading the file into CIMOM.
mofcomp -u <WBEM-user-name> -p <WBEM-password> -n:<object-path> <MOF-file>
The object-path can be either relative to the current namespace or fully qualified (for example, \\myserver\root\mynamespace).
A SMIR MOF file contains the name of its associated namespace.
Run the MOF compiler on the SMIR MOF file using the following command:
mofcomp -u <WBEM-user-name> -p <WBEM-password> <SMIR-MOF-file>