Define a WMI query

Use the WMI query operation to execute a query on a remote Windows system either explicitly or automatically. Successful values are logged in a specified target table.

About this task

This operation is relevant only for Windows.

Procedure

  1. Select WMI query from the Operation list in one of the following locations:
    • the Identification Sections or Connectivity Sections for Service Mapping
    • the Step window for Discovery
  2. Select the namespace path from the Namespace field.
  3. If in the debug mode:
    1. Click Get WMI data to populate the table and field values automatically.
    2. Select a table from the Table name pane.
      The field values are displayed in the Fields pane.
    3. Select a table from the Table name pane.
  4. If you are working in the manual mode, manually configure the following parameters:
    Field Description
    Table name Search for or select the table name. Table fields are shown in the Fields section.
    Fields Shows the fields in the table. Select the applicable fields for the query.
  5. Define parameters and operators for the condition in the Condition clause.
    The actual query text is displayed in the Full statement.

    Defining parameters for the Put file operation.
  6. Enter the variable for the table in which the retrieved data is saved in the Target table field.
  7. Select the Terminate check box to terminate discovery if no results are found.

Example

The following configuration is an example of the WMI query operation.
Field Value
Hierarchy Applications > Directory Services
CI Type IIFP
Pattern IIFP On Windows Pattern
Section AD Home Forest connectivity stage-wmi
Step number and Name 1. Get all agents details via WMI step