Types/Posh.Host.Cursor/PageUp.ps1
<# .SYNOPSIS Pages the cursor up. .DESCRIPTION Pages the cursor N (default 1) pages up. New lines are added at the bottom. .NOTES This method returns an escape sequence (it should be invisible). #> param( # How far the cursor should move [Alias('Rows')] [ValidateRange(1,1024)] [int]$Distance = 1 ) [Console]::Write("`e[${Distance}S") |