•Arnošt Havelka
Clear-Host - Clear the Screen
Learn to clear terminal output
Start Interactive LessonWhen your terminal gets cluttered, you can start fresh by running the Clear-Host command. This removes previous outputs from the screen.
Simply type Clear-Host or use the cls alias to clean the terminal.
Knowledge Check
1 / 1Which cmdlet clears the screen in PowerShell?
References
These documentation links provide authoritative details for the commands used in this article.
Up Next
Revision - Let's Practice!
Revise what you have learned so far