Skip to content

Instantly share code, notes, and snippets.

@kenpb
Created November 26, 2015 21:24
Show Gist options
  • Save kenpb/818e72ec323cb9b04a3d to your computer and use it in GitHub Desktop.
Save kenpb/818e72ec323cb9b04a3d to your computer and use it in GitHub Desktop.
My powershell console profile preferences
$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