The WMI Code Creator freeware tool is an absolute godsend for anyone trying to plumb the depths of WMI. It allows for interactive exploration of all the namespaces on your computer and even generates C#, VB, or VBScript code to retrieve the value or attach to the events you find.