Skip to content

Latest commit

 

History

History
70 lines (45 loc) · 1.77 KB

utilities.rst

File metadata and controls

70 lines (45 loc) · 1.77 KB

WBEM utility commands

The pywbem package provides a number of WBEM utility commands. They are all implemented as pure-Python scripts.

These commands are installed into the Python script directory and should therefore automatically be available in the command search path.

The following commands are provided:

  • mof_compiler

    A MOF compiler that takes MOF files as input and updates the CIM repository of a WBEM server with the result.

  • wbemcli

    A WBEM client in the form of a shell that provides an interactive Python environment for issuing WBEM operations to a WBEM server.

mof_compiler

The mof_compiler command compiles MOF files and updates the CIM repository of a WBEM server with the result.

If the compiler fails, any changes made to the CIM repository in the WBEM server as part of the current compilation are rolled back. A limitation is that changes to qualifier declarations are not yet rolled back (see issue #990).

The compiler provides a dry-run mode that simulates the compilation but does not change the CIM repository in the WBEM server.

Here is the help text of the command:


wbemcli

The wbemcli command is a WBEM client in the form of a shell that provides an interactive Python environment for issuing WBEM operations to a WBEM server.

See Python functions in wbemcli for details on the Python functions available in that environment.

Here is the help text of the command:


Python functions in wbemcli

wbemcli