Information stream
The information stream is a PowerShell output stream for informational messages that can be displayed or handled separately from pipeline output.
Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools
The information stream is a PowerShell output stream for informational messages intended for display or related handling.
- How it is used
- Handles structured informational messages that can be displayed, suppressed, captured, and filtered separately from pipeline data.
- How deep it goes
- Explains commands, tags, preferences, capture, and records, while stopping short of a full implementation pattern for production logging.
- Examples
- Demonstrates tagged messages, InformationVariable capture, InformationRecord inspection, tag filtering, and a process-reporting function.
- What you can do after
- Apply it via Write-Information to emit controllable messages and capture or filter them with common parameters.
Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS
The information stream is a PowerShell output channel for informational messages that can be recorded or consumed separately from ordinary pipeline output.
- How it is used
- Separates informational messages from ordinary pipeline output while supporting direct display and later control.
- How deep it goes
- Explains Write-Host behavior, preference-based suppression, hosting differences, and its PowerShell 5 redesign.
- Examples
- Demonstrates colored Write-Host output and compares terminal display with hosted logging such as Application Insights.
- What you can do after
- Apply it via Write-Host, Write-Information, and $InformationPreference to produce or suppress informational messages.
Related concepts
- Write-Hostproduced by · Write-Host is a PowerShell cmdlet that writes content directly to the host interface and information stream.
- streamingkind of · Streaming is the incremental handling of a sequence of data items, including their processing, transfer, or consumption as they become available.
- InformationActionconfigured by · InformationAction is a PowerShell common parameter that controls information-stream output behavior.
- Write-Informationused by · Write-Information is a PowerShell cmdlet that writes messages to PowerShell's information stream.
- InformationVariableconfigured by · InformationVariable is a PowerShell common parameter that specifies a variable for capturing information-stream output.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

