Created
November 26, 2015 21:24
-
-
Save kenpb/818e72ec323cb9b04a3d to your computer and use it in GitHub Desktop.
My powershell console profile preferences
This file contains 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
$shell = $host.ui.RawUI | |
# Buffersize | |
$buffer = $shell.BufferSize | |
$buffer.width = 120 | |
$buffer.height = 2000 | |
$shell.BufferSize = $buffer | |
# WindowSize | |
$size = $shell.WindowSize | |
$size.width = 120 | |
$size.height = 30 | |
$shell.WindowSize = $size | |
# Set default start directory to C:\ | |
Set-Location C:\ | |
# Clear trash | |
Clear-Host |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment