•Arnošt Havelka
Write-Output - Display Messages
Learn to display text with Write-Output
Start Interactive LessonWrite-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 / 1Which cmdlet prints messages in PowerShell?
References
These Microsoft Learn and Windows documentation links provide authoritative details for the commands used in this article.