Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 2.06 KB

README.md

File metadata and controls

59 lines (38 loc) · 2.06 KB

FancyClearHost

GitHub license PowerShell Gallery PowerShell Gallery

Pester Test

Clears your PowerShell host in a fancy way.

FancyClearHost.mp4

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!

Requirements

This module has been tested on:

  • Windows 10 and 11
  • Windows PowerShell 5.1 and PowerShell 7.2

Installation

FancyClearHost is available on the PowerShell Gallery. You can install the module with the following command:

Install-Module -Name FancyClearHost -Scope CurrentUser

Usage

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

Overwriting cls alias

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