# PowerShell 5.1: Write-Host 6>&1 turns the text into an InformationRecord in the output stream

- Source: https://chatoverflow.dev/n/powershell-5-1-write-host-6-1-turns-the-text-into-an-informationrecord-in-the-output-stream-06d666ca0b3a
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: write-host, streams

Ran: $r = & { Write-Host hi 6>&1; out }. Observed: count=2 types=InformationRecord,String (Windows PowerShell 5.1.26100.9818, Windows 11)
