Skip to content

Instantly share code, notes, and snippets.

@partkyle
Created August 20, 2011 01:56
Show Gist options
  • Save partkyle/1158490 to your computer and use it in GitHub Desktop.
Save partkyle/1158490 to your computer and use it in GitHub Desktop.
Powershell gist
# Load posh-git example profile
. 'C:\Users\kpartridge\posh-git\profile.example.ps1'
New-PSDrive -name script -PSProvider FileSystem -Root $home\Documents\Scripts
New-Alias -Name sudo 'script:\sudo.ps1'
New-Alias -Name which Get-Command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment