tee for Windows?
Does Windows provide the basic tee
facility for copying standard input to an arbitrary set of files and then back out to standard output?
I generally download a generic tee
program, but curious if something like this exists in powershell or something like that?
PowerShell sure does, the cmdlet is called Tee-Object. You can also use the alias tee if you're more used to the Unix-like approach:
PS C:\Documents and Settings\Administrator> help Tee-Object NAME Tee-Object SYNOPSIS Saves command output in a file or variable and displays it in the console.
example:
C:>get-process | tee -filepath C:\file.txt
this will send the output to C:\file.txt
as well as the console.