The Windows Management Instrumentation Code Creator tool lets system administrators automate the repetitive tasks that drain away valuable time from useful work they could otherwise perform.
Microsoft TechNet recently unveiled its WMI tool online. Chris Scoville, a programming writer in the Windows Server Developer Documentation group at Microsoft, developed the utility, which is featured in the January/February ’06 issue of TechNet Magazine.
Admins can generate code in their choice of VBScript, C#, or Visual Basic .NET. Scoville described how the utility might find favor with those admins:
To take full advantage of WMI you have to write queries to extract the information you need. And if you don’t have the ready-made queries already floating around in your head, you just might want to take the WMI Code Creator for a spin.
Within the WMI tool, admins can query for data from a WMI class, execute a method, or receive an event based on the query conditions they set. Another tab in the tool lets the admin browse the namespaces on that computer. Scoville also made it useful for an admin who doesn’t remember every single WMI class available:
If you aren’t familiar with all of the WMI classes and their uses, the WMI Code Creator lets you browse through the available WMI classes on your computer, and displays descriptions of these classes, their properties, and methods. The WMI Code Creator also lets you quickly access the documentation for a WMI class by linking you to the specific class page in the MSDN WMI documentation online.
Once the code has been generated, admins may execute it within the tool. For those who want to delve deeper into the WMI’s inner workings, Scoville noted the source code for the tool arrives as part of the download; he wrote how this can benefit those who wish to learn more about the “System.Management classes in the Microsoft .NET Framework to access WMI.”
—
document.write(“Email the author here.”)
Add to document.write(“Del.icio.us”) | DiggThis | Yahoo My Web
David Utter is a staff writer for Murdok covering technology and business.