Redirecting STDOUT to STDIN (piping) is supported by CMD.EXE, not Vbscript (WSH).
To pipe the output of an executable to the input of another process in Vbscript simply involves using CMD.EXE to run them.
The location of CMD.EXE is defined by the %comspec% environment variable.
ExampleIf you wanted to run dsquery user -samid %username% -o dn | dsget user -memberof from a Vbscript, use:
set oShell = createobject("wscript.shell")
mystr = "dsquery user -samid %username% -o dn | dsget user -memberof"
set oUserDN = oShell.exec("%ComSpec% /c <div class="Contentquote"><center> & mystr & </center></div>")