Clear-Host

Clear the screen.

Syntax
      Clear-Host


Standard Aliases for Clear-Host: clear, cls

Examples

PS C:\> cls

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

Related PowerShell Cmdlets

Clear-Disk - Remove all partition information and un-initialize a disk, erasing all data.
Clear-History - Delete entries from the session history.
Set-ConsoleSize.ps1 - Set the PowerShell console window size.


 
Copyright © 1999-2024 SS64.com
Some rights reserved