Press "Enter" to skip to content

Working with Write-Output in Powershell

Nicholas Xuan Nguyen doesn’t just echo to the screen:

The PowerShell Write-Output cmdlet writes objects to the output stream and displays the output of a command or message in the console. But you will be surprised how this tool makes the output more meaningful and valuable.

Read on to see what you can do with the cmdlet and why it’s better than Write-Host.