Back to Blog
Arnošt Havelka

Clear-Host - Clear the Screen

Learn to clear terminal output

Start Interactive Lesson
Clear-Host - Clear the Screen

Clear-Host - Clear the Screen

When 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 / 1

Which cmdlet clears the screen in PowerShell?

References

These Microsoft Learn and Windows 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