How to scan for custom Windows Management Instrumentation ( WMI ) items

Version 5

    Verified Product Versions

    Endpoint Manager 2016.xEndpoint Manager 2017.xEndpoint Manager 2018.x

    Description

    The purpose of this document is to provide a walkthrough of utilizing the ability to scan for custom Windows Management Instrumentation ( WMI ) items using the Inventory scanner included with Ivanti Endpoint Manager. This feature gives you the ability to pull WMI values from a client device and model them within the device's inventory. This allows the captured information to be included in reports, queries, etc.

     

    Note: With the release of Endpoint Manager 2017.1, the ability to pull WMI information from non-standard WMI namespaces was added.

    Resolution

     

    1. On the core server, navigate to Tools > Reporting/Monitoring > Manage software list
      custwmi1.gif
    2. Within the 'Manage Software List' expand 'Custom Data' and select 'WMI Items'. Within the pane that appears on the right-hand side, right-click and select and select 'Add'
      custwmi2.gif
    3. Within the new window that appears entitled 'WMI Scan Item Properties' you will place the WMI call criteria necessary for obtaining the WMI information. Each object required is expanded on below:
      custwmi3.png
      A
      . NameSpace: This is the WMI namespace. The most common namespace used is root\cimv2, however, this can be a different namespace such as root\security or root\microsoft to name a few.
      B. Class Name: This is where the WMI class name is input. This can be a number of things and can be found in in the level below the namespace. The class name is case sensitive, please keep this in mind when adding      this value.
      C. Display Object: The display object is used to determine where the data will be displayed within the inventory tree of the device. Items are listed in hierarchical order and must be separated with " - " (space dash space)      to accurately be displayed in the inventory. The first item input here is the name in the inventory tree that will contain the data, such as 'Custom Data', 'BIOS', etc..

      An example of possible input information can be found below:
      custwmi3b.png
      Once this information has been input click the 'Add' button.
    4. Now that the WMI object has been added to the WMI Items, Properties can be added. The properties specify what the scanner searches for once it accesses the specified WMI namespace and class. In order to add properties, click the 'Add' button. Upon clicking the 'Add' button you will be able to input data into the 'Property Name' and 'Display Name' boxes as described below:
      Property Name: The property name of the WMI value in which you are wishing to pull information from.
      Display Name: This is the name used within the inventory tree to identify the WMI property. This input will appear one level below the 'Display Object' within the inventory tree on the device(s).

      Once these values have been input, click 'Apply' and then click 'OK'.

      Note: The 'Key' checkbox is used when a qualifier needs to indicate whether the property is part of the namespace handle.

    5. Now click the 'Make available to clients' button to ensure the updated product definition files used by the inventory scanner are updated and attainable by the client for its next scan.
      custwmi5.gif
    6. Run an inventory scan on your client device and ensure the data is being pulled in with the inventory scan. Below is a screenshot of the data returned for the example custom WMI item used for this document.
      custwmi6.png