Instead of re-inventing the wheel with WMI, why not use WMIQuery()?

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's