Export (0) Print
Expand All
Expand Minimize
1 out of 2 rated this helpful - Rate this topic

Using the Get-Alias Cmdlet

Listing All Your Windows PowerShell Aliases

The Get-Alias cmdlet simply returns a list of your Windows PowerShell aliases. Type the following, and all your aliases will be displayed on-screen:



Get-Alias

If you don’t want to see all the aliases you can use the -name parameter and specify either a single alias name or use a wildcard to return a group of aliases. For example, this command returns a list of all the aliases that start with the letter F:



Get-Alias -name f*

Like we said, you’ll get back information similar to this:



CommandType     Name                            Definition
-----------     ----                            ----------
Alias           fc                              format-custom
Alias           fl                              Format-List
Alias           foreach                         foreach-object
Alias           ft                              Format-Table
Alias           fw                              Format-Wide

Get-Alias Aliases
  • gal

Related Links

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.