Jens:

I did not write any parts of this.. I simply took the latest WMIQuery from the UDF section, commented out the part that instantiated the object, and then added in the parts of your UDF that instantiated the object based on whether security was needed or not.

Look at the latest WMIQuery on the board - it's version 2.4.

I added the .2 version designation based on including your code segment, opened up the one-line IF statements to make them easier (for me) to follow, and added the reference to SNVerify(), which is our standard UDF for formatting server names - adding SNVerify is probably the most significant change I made.

I did not make any changes to the output of the UDF in any way. I believe that the change from a "|" delimited string to an array were made by Radimus some time ago, as his note indicates.

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