Created
February 14, 2018 08:14
-
-
Save JohnLBevan/c14dbdeaea2177e9dc345eccc5b4bc62 to your computer and use it in GitHub Desktop.
When `Format-Table` has to truncate data / you need more screen width to output to, run this to create more space / enable horizontal scrolling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #show the current screen buffer size | |
| $Host.UI.RawUI.BufferSize | |
| #update the current screen buffer size | |
| $Host.UI.RawUI.BufferSize = New-Object Management.Automation.Host.Size (500, 0) #(width, height) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment