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 taskThis operation is relevant only for Windows. Procedure 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 Define the namespace path in the Namespace field. If in the debug mode: Click Get WMI data to populate the table and field values automatically. Select a table from the Table name pane. The field values are displayed in the Fields pane. Select a table from the Table name pane. 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. Define parameters and operators for the condition in the Condition clause. The actual query text is displayed in the Full statement. Enter the variable for the table in which the retrieved data is saved in the Target table field. You can enter a value from the specific field in a table as described in Useful shortcuts in Pattern Designer. Select the Terminate check box to terminate discovery if no results are found. ExampleThe 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 This step uses the WMI Query operation to extract data on agents from the MicrosoftIdentityIntegrationAgent namespace and save this data in the variable table named $ManagementAgents.