WMI Query Builder

Overview

Windows Management Instrumentation (WMI) is a technology built into Windows that allows for improved manageability of computers in a networked environment. The WMI Query Builder is a convenient development tool that comes packaged with the WMI Query action. It comes equipped with an easy to use graphical interface that allows you to:

  • Explore the full set of WMI management classes, objects and their properties.

  • Browse through objects and settings on the local computer os remote machines.

  • Create your own WQL queries in which to execute during runtime.

Related Topics

Using the WMI Query Builder

The WMI Query Builder can be launched from the properties of the WMI Query activity by pressing the Query Builder button. Connection is determined by the current properties entered. For instance, if the Remote Computer property is selected and required parameters are entered (that is, remote computer name, domain, username, password), the WMI Query Builder will connect to the remote computer and search for appropriate data. The Query Builder interface is made up of four top panels and a single bottom panel (as shown above). You build a WQL query by selecting from the entries listed in each of the top panels (from left to right). Upon completion, the finished query will appear in the Query View panel.

To build a query

  1. Open the WMI Query Builder. The Namespace and Class panels populate with namespaces and classes available on the connected computer.  
  2. In the Namespace panel, select a namespace to filter the available classes for it. You can also search for a namespace.
  3. In the Class panel, select a class. You can also search for a class.
  4. In the Property panel, select a property for the class to populate the values for it in the Values panel. You can also search for a property. The property value for a specific object can be viewed or selected from the Property panel.
  5. The Query View displays the assembled query. This can be an invaluable resource for those who know where to look for certain elements but need to see what exactly is being returned by Windows API.
  6. Upon completion, select Save.