CIMOM Command-Line Syntax

[This is preliminary documentation and subject to change.]

The Common Information Model Object Manager (CIMOM) can be started on Microsoft® Windows NT® installations through the Control Panel or with the net start command.

cimom
    [/kill]
    [/exe]
    [/regserver] 
    [/unregserver]

Switches

/kill
Causes CIMOM to stop any running copies, even if the running copy is a Windows NT service.
/exe
Forces CIMOM to run as a standard executable file (EXE) rather than as a Windows NT service and displays CIMOM as an icon while running.
/regserver
Causes CIMOM to complete its registration process.
/unregserver
Causes CIMOM to cancel its registration by removing registry entries.

Remarks

CIMOM runs as a dual mode executable program, either as a standard .exe file or as a Windows NT service.

    To connect to CIMOM
  1. Call the COM function CoCreateInstanceEx to retrieve a pointer to a locator object, which supports the IWbemLocator interface.
  2. Call IWbemLocator::ConnectServer to connect to a namespace on a server. ConnectServer returns a pointer to a WBEM services object, which supports the IWbemServices interface.