If you are looking to eventually parse through the piped output via script, you may wish to give WshPipe() - Pipes the results of a shell command to an array a try.