Have you looked at parsing the output of winmsd? It should be available on all your Win32 platforms, and may give you more consistent results. In addition, you wouldn't have to worry about installing modules on every machine.
machine -- so it's conceivable that you could write your script to go out and check all these other machines from one central location. A big plus in my book.