Microsoft has a free download called WMI Creator that gives you code in C#, VB, vbscript and javascript for any WMI call you can think of. Click here for WMI Creator. Hopefully this will help everyone that wants to expand on the available Vista sidebar gadgets.