Skip to content

Instantly share code, notes, and snippets.

View Microsoft.PowerShell_profile.ps1
Set-Location C:
$Shell = $Host.UI.RawUI
$size = $Shell.WindowSize
$size.width=200
$size.height=60
$Shell.WindowSize = $size
$size = $Shell.BufferSize
$size.width=200
$size.height=2000
$Shell.BufferSize = $size
You can’t perform that action at this time.