Using Host cmdlets
There are five Host cmdlets that help you Clear the host, Get information about the host, send Out the output to the host, Read information from the host, and Write information to the host.
PowerShell is a shell—an engine—as Don Jones points out in his powershell.org article (https://powershell.org/2013/10/the-shell-vs-the-host/). The Host is what hosts this engine, or interacts with the engine on your behalf. This is to reiterate that Host cmdlets send output to the sixth stream, called the information stream. The only stream that interacts with the pipeline, though, is the first, or the success stream. Behind the scenes, when PowerShell does not find an entity at the end of the pipeline to accept the output of the success ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access