Skip to content

Instantly share code, notes, and snippets.

@stuartleeks
Created January 22, 2016 08:41
Show Gist options
  • Save stuartleeks/9eb87364a9b2bf7d0cbe to your computer and use it in GitHub Desktop.
Save stuartleeks/9eb87364a9b2bf7d0cbe to your computer and use it in GitHub Desktop.
Gripping powershell fun ;-)
get-command Get* | %{ set-alias -name ($_ -replace "^Get","Gert") -Value $_ }
@lawrencegripper
Copy link

lawrencegripper commented Jan 22, 2016

get-command Set* | %{ set-alias -name ($_ -replace "^Set","PutHeThere") -Value $_ }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment