Powershell: get output from Receive-Job
问题 I have a collection of jobs that are running. When they complete I use receive-job and it writes the output to the screen. I'd like to take that output and log it to a file. I don't want to tee the output produced while the jobs are running because with multiple jobs running at once the logging would be interspersed. Get-Job | Receive-Job prints the output in a nice organized manner. I have tried all of the following and no output is written to the file or stored in a variable, it just goes