Previous Topic: WBEM Inventory ModuleNext Topic: Create Legacy Inventory Modules


Setting Up WBEM/WMI Inventory Module

Setting up WBEM/WMI Inventory modules requires a configuration file. This configuration file can be generated either with the help of asset management WMI Configuration tool (gui_am_wmicfg.exe), found in the application Bin directory, or manually in an editor such as Notepad.

The configuration file must have a configuration section [Config] with a version=2 key indicating that the file contains the new WBEM/WMI configuration format. There is a section for every Namespace, the section is called [Namespace=<namespace name with path>], example [Namespace=ROOT\CIMV2]. The namespace section contains information about the enumeration mode, Include or Exclude, and a list of the classes to be included or excluded. You can use '*' and '?' as wildcard characters.

Example: Inventory Configuration for a printer, based on WMI

[Config]
Version=2
Component=Printer Inventory (WMI)

[Namespace=ROOT\CIMV2]

Enumeration=INCLUDE
Property=Win32_Printer.Caption
Property=Win32_Printer.Description
Property=Win32_Printer.DeviceID
Property=Win32_Printer.DriverName
Property=Win32_Printer.Location
Property=Win32_Printer.Name
Property=Win32_Printer.PortName
Property=Win32_Printer.PrinterState
Property=Win32_Printer.PrinterStatus
Property=Win32_Printer.ServerName
Property=Win32_Printer.ShareName
Property=Win32_Printer.Status
Property=Win32_Printer.StatusInfo

Tool

Specifies the configuration tool to use to configure the selected inventory module. If this inventory module is a WMI module, you can use the asset management WMI configuration tool (GUI_AM_WMICFG.EXE), found in the bin directory.

Note: Enabling all options of the WMI inventory module causes a high load on the agent computer and generates a huge amount of inventory data.