Richard,

FYI - You missed the 8 on the the link to Chris' WshPipe UDF, it should be.

WshPipe() - Pipes the results of a shell command to an array