I found a blog which has a few helpful VBScripts to perform some common tasks.

http://blogs.msdn.com/alejacma/archive/tags/WMI/default.aspx

Hope this helps.

Aditya Patwardhan [MSFT]