The ConfirmWMI UDF is part of the script already.

Even though WMI is already installed and part of 2000/XP by default it can easily be damaged and may need to be repaired.


WMI is not working. How do I troubleshoot this?
http://www.microsoft.com/technet/scriptcenter/resources/wmifaq.mspx#EHAA

Repairing and re-registering the WMI
http://windowsxp.mvps.org/repairwmi.htm