So I\'ve been using Handbrake command line to encode my video collection to store on my NAS so I can use it on my HTPC. I was looking for a way to output both to the screen so I
I would use Tee-Object for this:
./HandbrakeCLI.exe -i infile -o outfile ... 2>&1 | Tee-Object -File movie.log
Added in the 2>&1 to capture errors to the log as well as the screen.
2>&1