Intercept output going to the PowerShell Host and tee it to a log file.