PowerTip: Discover Short PowerShell Aliases

PowerTip: Discover Short PowerShell Aliases

  • Comments 3
  • Likes

Summary: Use wildcard characters to find Windows PowerShell cmdlet aliases.

Hey, Scripting Guy! Question How can I display all one-letter Windows PowerShell cmdlet aliases?

Hey, Scripting Guy! Answer Get-Alias ?

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Hi Ed,

    you can also display property alias with this:

    get-alias | ForEach {

        $cmd=get-command $_.definition

        $alias=$cmd.parameters | select -expand values | select -expand Aliases

        new-object PSObject -prop @{

           Name = $_.definition

           Alias = $_.Name

           AliasProperty = $alias



  • @Walid Toumi this is a great suggestion. Thank you so much for sharing. I love property aliases.

  • The function of Walid is really great aswell.