Voltar ao blog
Arnošt Havelka

Write-Output - Exibir Mensagens

Aprenda a exibir texto com o Write-Output

Iniciar lição interativa
Write-Output - Exibir Mensagens

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.


Teste de conhecimentos

1 / 1

Which cmdlet prints messages in PowerShell?

Referências

Estes links do Microsoft Learn e da documentação do Windows trazem detalhes confiáveis sobre os comandos usados neste artigo.

A seguir

Clear-Host - Limpar a Tela

Aprenda a limpar a saída do terminal