Clear-Host

Clear the screen.

Syntax
      Clear-Host


Standard Aliases for Clear-Host: clear, cls

 

Example

PS C:\> cls

“Muddy water, let stand - becomes clear” ~ Lao Tzu

Related PowerShell Cmdlets:

Clear-History - Delete entries from the session history.
Set-ConsoleSize.ps1 - Set the PowerShell console window size.


 
Copyright © 1999-2021 SS64.com
Some rights reserved