I debated that, actually, but it is backward compatible. I have three (OK - not exactly an exhaustive test) other tools that used WMIQuery, and after re-genning those to use the updated WMIQuery version, they all ran with no changes.

In fact, the orignial statement was copied and pasted as a comment just below the new statement that executes when no authentication is needed - the statement is identical to the original code.

As far as creating a new UDF - Since the original WMIQuery is Radimus' code - I'll leave it up to him to decide if he wants to integrate this moving forward or have this be a seperate UDF. Fair? Your original UDF is still viable as a standalone for other code, and adds value to this one when integrated.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D