Back to Blog
Arnošt Havelka

Write-Output - Display Messages

Learn to display text with Write-Output

Start Interactive Lesson
Write-Output - Display Messages

Write-Output - Display Messages

The Write-Output cmdlet prints any text message directly to the terminal. It is the PowerShell equivalent of the echo command.

For example, running Write-Output Hello will output Hello on the screen.


Knowledge Check

1 / 1

Which cmdlet prints messages in PowerShell?

References

These Microsoft Learn and Windows documentation links provide authoritative details for the commands used in this article.

Up Next

Clear-Host - Clear the Screen

Learn to clear terminal output