Back to Blog
Arnošt Havelka

Clear-Host - Clear the Screen

Learn to clear terminal output

Start Interactive Lesson
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 documentation links provide authoritative details for the commands used in this article.

Up Next

Get Help in PowerShell

Learn how to use Get-Help to discover command documentation.