liveBook · Manning

Information stream

The information stream is a PowerShell output stream for informational messages that can be displayed or handled separately from pipeline output.

How 2 Manning books explain it

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.

Read how Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools explains information stream →

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.

Read how Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS explains information stream →

Related concepts

Questions about information stream

What is information stream?

The information stream is a PowerShell output stream for informational messages that can be displayed or handled separately from pipeline output.

Which Manning books explain information stream?

Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools and Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS.

What is information stream a kind of?

Information stream is a kind of stream processing. Stream processing is the incremental processing of data items as they become available, without requiring the complete dataset to be present first.

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.