The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,810 other followers

PowerShell aliases (via: Top Ten PowerShell Aliases for DOS Commands)

Posted by jpluimers on 2014/02/26

In most programming environments, I tend to avoid abbreviations, especially since command-completion and parameter-completion makes it easier to write readable code.

Same fore PowerShell: the PowerShell ISE has great completion features.

Other people tend to use abbreviations, especially since many PowerShell aliases make it easier for people coming from a cmd or bash background.

Two Get-Alias commands I use quite often for researching aliases:

  • Get-Alias -Definition <name>
  • Get-Alias | Sort-Object Definition

The former gives you the CmdLet for an alias.
The latter all defines alises sorted by the CmdLet definition.

Two aliases that I tend to avoid are these:

While you are at it, there are also parameter aliases. Read Weekend Scripter: Discovering PowerShell Cmdlet Parameter Aliases on TechNet Blogs to learn more about these.


via: Top Ten PowerShell Aliases for DOS Commands.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: