Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Useful when using PowerShell in Containers
- [int]$width = 170 ## slightly less than the window width (columns)
- if( ( $UI = (Get-Host).UI.RawUI ) -and ( $buffy = $UI.BufferSize ) )
- {
- $buffy.Width = $width
- $UI.BufferSize = $buffy
- }
Add Comment
Please, Sign In to add comment