Client Management Suite

 View Only

WMI_Utility.exe: WMI Search Utility 

Aug 27, 2007 05:41 PM

Here's a slick search/troubleshooting utility for those of you spinning code using the Windows Management Instrumentation (WMI) interface. If you know what WMI stands for, this tool's for you. If you don't, a primer is in order. Here's one from the Redmond brain trust.

This WMI search utility is a command line tool that provides the following functionality:
  1. Search all WMI Win32 property names (columns or attributes) for a specified partial name
  2. Show the properties from a given WMI Win32 class name
  3. Show the data from a given WMI Win32 class name
  4. Show all WMI Win32 class names
Entering wmi_utility.exe without parameters returns the following help information:
>WMI_Utility.exe

 This is a console program that can ...
 1.) Search all WMI Win32 class properties names from a given string
 2.) Show the properties from a given WMI Win32 class name
 3.) Show the data from a given WMI Win32 class name
 4.) Show all WMI Win32 class names

 Help menu ...
 Switches: all: a, data: d, properties:, s - search
 Usage: WMI_Utility /a
 Usage: WMI_Utility /d %Win32_ClassName%
 Usage: WMI_Utility /p %Win32_ClassName%
 Usage: WMI_Utility /s %Search_String%

 Press enter to continue ...
Results of '/s' search:
>WMI_Utility.exe /s profile

 Building list of all WMI Win32 classes.

 Searching the list for 'profile' ...

 ------------------------------------ ---------- -------------------------
  Class Name                           Type       Property Name
 ------------------------------------ ---------- -------------------------
  Win32_NetworkLoginProfile            String     Profile
  Win32_TerminalServiceSetting         String     ProfilePath
 ------------------------------------ ---------- -------------------------

 Total results count is 2 class properties found.

* This tool was authored by Alex Held, a Support Engineer based in Lindon, Utah. Posted to juice with his permission.
License:AJSL
By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License
Support:User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
WMIUtil.zip   4 KB   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Aug 28, 2007 12:48 PM

You can also do the same wmi queries in powershell. The syntax is quite different, though.

Aug 28, 2007 02:06 AM

I usually use the free Microsoft WMI Tool.
Unfortunately I have been unsuccessful in visualising it.
You can also run wbemtest from the Run command, as this will open the WMI utility that comes with the OS, however, I don't like to use it as WMITools is more user-friendly.

Related Entries and Links

No Related Resource entered.