Using WMI Explorer: Getting Started

In this section, we'll introduce you to the tasks you can do in WMI Explorer.

In this section:

Connect to a remote computer

By default, WMI Explorer displays and queries WMI on the local computer. But you can use WMI Explorer to view and query WMI on any computer that you can connect to.

Search WMI

Search is one of the most valuable features of WMI Explorer. You can search for a phrase in the name or description of a WMI class, property, or method. And, you can filter your search to make it more efficient.

TIP: Looking for the Win32_* classes? They're in the CIMV2 namespace. In the namespace tree, click CIMV2. Then, in the Class window, click any entry, and then type W.

WMI Explorer has two related features, Search and Find. Start with Search, and then, if you need to filter further, use Find.

Search finds a text string in the name or description of a class, property, or method.

  1. To start a search, in the Find section of the menu, click Search.

  2. In Search for, type the search phrase. The search is literal, so don't enter wildcard characters (*), quotation marks, or escape symbols. Set the Scope and Search in attributes.

  3. You can also select a Filter (either before or after the search completes).

  4. View the results in the Search results pane. (It's one of the tabs in the Output window at the bottom of the screen.)

  5. To review the results, double-click each entry in Search results. Or, in the Find section of the menu, click Previous Result and Next Result.

  6. When you select an entry in Search results, the class and its members appear in the Class and Property/Method panes.

Find a string

The Find feature searches for a string in the results of a search or a query.

  1. To find a string, in the Find section of the menu, type a string.

    Find is literal, so don't enter wildcard characters (*), quotation marks, or escape symbols. Set the Scope and Search in attributes.

  2. To find more matches, in the Find section of the menu, click Find Previous and Find Next.

Query WMI

WMI objects represent the manageable aspects of a computer, including its hardware, software, and environment. When you query WMI successfully, the query returns a WMI object with its properties and methods. You can use that information to manage the computer.

To query WMI, you can use WMI Query Language (WQL) or the Get-WMIObject or Get-CIMInstance cmdlets. But, WMI Explorer does it for you.

TIP: To get the query command that WMI Explorer ran, in the Query section of the menu, click the arrow key below the Query icon, and then click Custom Query.

Query WMI in PowerShell

You can also run WMI queries in a Windows PowerShell console. WMI Explorer runs a Get-CIMInstance command in the Windows PowerShell console of the Output pane.

TIP: To get the PowerShell command that WMI Explorer ran, in the Query section of the menu, click the arrow key beside the PowerShell icon, and then click Copy PowerShell Code.

  1. In the Namespace and Class panes, select a class (or search for a class). To query particular properties of the class, in the Property/Method pane, select the properties.
  2. In the Query section of the menu, click PowerShell (Ctrl+P).

  3. You can view and copy the output in the Windows PowerShell console and run follow-up commands. To recall the command that WMI Explorer ran, click the up arrow.

Export the Results

You can export the results of the most recent WMI query to a file and save it on any available file system or cloud service.

Need more?

This manual guides you through the features of WMI Explorer. If you have questions that aren't answered here, search the SAPIEN Blog and the WMI Explorer forum (for licensed users) or the Trial Software Questions forum (trial users). If you can't find what you need, post a question on either forum. We'll get back to you quickly.