FancyClearHost provides you with the ability to clear the PowerShell host display with some cool text animations. Unlike any other PowerShell modules, it doesn't give you any useful features but you should be able to surprise your colleagues or audiences when you give a demo!
This module has been tested on:
- Windows 10 and 11
- Windows PowerShell 5.1 and PowerShell 7.2
FancyClearHost is available on the PowerShell Gallery. You can install the module with the following command:
Install-Module -Name FancyClearHost -Scope CurrentUser
Just call Clear-HostFancily
function to play random animations, and type 'q' to quit.
Clear-HostFancily
You can play a specific animation by adding Mode
parameter and control the speed by Speed
paramerter.
Clear-HostFancily -Mode Falling -Speed 0.5
By adding the following code to your PowerShell profile, you can overwrite the cls
alias with a fancy version.
function FancyClear
{
# You can set whatever parameters you want here
Clear-HostFancily -Mode Falling -Speed 3.0
}
Set-Alias -Name cls FancyClear -Option AllScope