Home > Programming, Windows > The WMI Code Creator

The WMI Code Creator

The WMI Code Creator has been one of those tools that I rely on often when writing code, whether it be in Perl, Delphi, C#, VBScript, or C++. Windows Management Instrumentation, or WMI, provides an easy to use interface to the underlying Windows operating system. To put it very simply, it is a very easy to use “wrapper” for retrieving information information from the operating system.

WMI also exposes a collection of COM-scriptable objects that allow many programming and scripting languages easy access to it.

But enough about WMI, we are here to talk about a free program from Microsoft that will generate WMI calls in C#, VBScript, and VB.NET. It makes finding the WMI call that you want/need very easy and makes it even easier to test them.

WMI Code Creator 01

The Microsoft blog, Ask the Performance Team has a very nice 2-minute overview of using this tool, which I highly suggest reading (that’s also where the above screenshot came from).

You can download the WMI Code Creator from Microsoft here.

Advertisements
Categories: Programming, Windows
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s