Multiple choice technology

Select all that applies. A Tee-Object is used to:

  1. Pipe an object input to a file or variable

  2. sends the output of a command in two directions

  3. Tee-Object uses Unicode encoding when it writes to files

  4. input data to CmdLets without using variables

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
Explanation

Tee-Object cmdlet splits pipeline output, sending it to a file or variable while also passing it down the pipeline for further processing (A, B). It saves output to a destination without stopping the pipeline flow. By default, Tee-Object uses ASCII encoding when writing to files (C is true). It's specifically designed for capturing output to files/variables in addition to pipeline processing, not for bypassing variables.