You can find scripts at:
My web site: http://www.lissware.net
MS Script Center: http://www.microsoft.com/technet/scriptcenter/default.mspx
The new WMI Code Generator:
http://www.microsoft.com/downloads/details.aspx?FamilyID=2cc30a64-ea15-4661-8da4-55bbc145c30e&displaylang=en

The latter generates VBScript but also C# and VB.NET.

Hope this helps
/Alain