Now, this is neat. Sort of like the old Script-o-matic but a bit more polished, the WMI Code Creator allows you to generate VBScript, C#, and VB .NET code that performs specific tasks utilizing WMI. You can browse through the available WMI namespaces and then quickly generate code to not only query WMI, but also do things like use the Win32_Process class to generate actionable processes. One example, is you could remotely execute an instance of Notepad.
Download it: WMI Code Creator v1.0