Retour au blog
Arnošt Havelka

Write-Output - Afficher des messages

Apprenez à afficher du texte avec Write-Output

Démarrer la leçon interactive
Write-Output - Afficher des 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.


Vérification des connaissances

1 / 1

Which cmdlet prints messages in PowerShell?

Références

Ces liens Microsoft Learn et de la documentation Windows fournissent des informations fiables sur les commandes utilisées dans cet article.

À suivre

Clear-Host - Effacer l'écran

Apprenez à effacer la sortie du terminal