Redirect output to pipe

Exist any way to redirect the "-r" output to pipe on Windows?
I want to do something similar to (on UNIX by convention '-' is redirection to STDOUT):

vhusbd -t "LIST" -r - | grep "In-use by you" | other_program

PS: I want to use this output on NAGIOS.


I think you mean vhui64.exe rather than vhusbd, anyway unfortunately Windows doesnt support pipes natively so you have to do it like this:

vhui64.exe -t "LIST" -r "out.txt"
FOR /F "tokens=*" %%i IN (out.txt) DO @ECHO %%i

and parse %%i