Multiple choice technology

Which command is used to print the output of a CmdLet?

  1. Out-FIle

  2. Out-Host

  3. Out-Null

  4. None of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

PowerShell CmdLets automatically send output to the display console by default - no explicit print command is needed. Out-Host is technically what displays output, but it's used implicitly; you don't call it separately to 'print' output.