Output Streams
noun
say it: “OWT-put STREEMZ” /ˈaʊtˌpʊt ˈstrimz/
The separate channels PowerShell uses for what a command writes, so results, errors, warnings and messages for people don't get mixed up.
What are output streams in PowerShell?
Output streams are PowerShell's separate channels for what a script writes, like a kitchen's pass for plates and its shouts for the cooks. Results go on the output stream, down the pipeline; errors, warnings, verbose details and Write-Host words each have a channel of their own, which > and the pipeline leave alone.
.\move-receipts.ps1 > moved.txt
# Moving receipts to C:\Users\Sam\terminal-practice\mover\backup-drive (screen)
# WARNING: 2026-10-05-gas.pdf is already there. Left it in the inbox. (screen)
Get-Content moved.txt
# 2026-10-03-groceries.pdf (the output stream went into the file)
# 2026-10-09-pharmacy.pdf
In a sentence
- “Sam learned that Write-Error and Write-Output use different output streams.”
- “Thanks to PowerShell's output streams, the warning showed on the screen while moved.txt got only the receipts.”
Level: Journeyman · More PowerShell terms at this level
Updated