PowerShell: List of Aliases

By Xah Lee. Date: . Last updated: .

Command names are case-insensitive.

PowerShell has many aliases, so if you are familiar with cmd.exe or bash, you can use it right away.

List Aliases of a Cmdlet

# list alias of cmdlet Get-ChildItem
Get-Alias -Definition Get-ChildItem
powershell 2021-01-20 k538J
powershell alias

Find Full Name of a Alias

# find the full name of the alias dir
Get-Alias dir
PowerShell get alias full name 2022-04-24
PowerShell get alias full name

List all Aliases

# list all alias
Get-Alias *

Order by Alias

Order by Full Name

Alias of Functions

Create New Alias

use New-Alias or Set-Alias

Set-Alias -Name l -Value Get-ChildItem
New-Alias -Name "l" Get-ChildItem

Delete a Alias

To delete an alias, use Remove-Item

PowerShell

Practical How-To

PowerShell in Depth

Programing PowerShell

Script Examples