Skip to content

Instantly share code, notes, and snippets.

@rgunst
Created May 1, 2015 12:50
Show Gist options
  • Save rgunst/f26f3c722075df5e6ab9 to your computer and use it in GitHub Desktop.
Save rgunst/f26f3c722075df5e6ab9 to your computer and use it in GitHub Desktop.
# Aliases
Set-Alias subl "C:\Program Files\Sublime Text 3\sublime_text.exe"
Set-Alias ie "C:\Program Files\Internet Explorer\iexplore.exe"
Set-Alias winscp "C:\Program Files (x86)\WinSCP\WinSCP.exe"
# Functions
function rdp { mstsc /control /v:$args }
function pssh { Enter-PSSession -Computername $args[0] -Credential etamgroep\dadmin8 }
# Load Windows PowerShell cmdlets for managing vSphere
Add-PsSnapin VMware.VimAutomation.Core -ea "SilentlyContinue"
# Set path
$env:Path += ";C:\Program Files (x86)\Git\bin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment