Get PowerShell height and width
Determine PowerShell window height and width with these commands:
$Host.UI.RawUI.WindowSize.Width
$Host.UI.RawUI.WindowSize.Height
Determine PowerShell window height and width with these commands:
$Host.UI.RawUI.WindowSize.Width
$Host.UI.RawUI.WindowSize.Height