PowerShell: List of Aliases
PowerShell has many aliases, so if you are familiar with cmd.exe or bash, you can use it right away.
For example,
dir
,
ls
,
gci
,
are all the same as
Get-ChildItem
.
List All Aliases of a Command
Get-Alias -definition fullname
-
List all aliases of a cmdlet.
Get-Alias
itself has an alias ofgal
get-alias -definition get-childitem
powershell alias
Find Full Name of a Alias
# find the full name of the alias dir get-alias dir

Create New Alias
Set-Alias
- create or set alias.
Set-Alias -Name l -Value Get-ChildItem # short syntax sal l Get-ChildItem
Note: unlike bash, you cannot create a alias to command with options. Write a Function instead.
Delete a Alias
Example, to remove alias x
, do
Remove-Item alias:x
List Aliases
# list all alias Get-Alias *
List of All PowerShell Aliases
Order by Alias
?
→Where-Object
%
→ForEach-Object
ac
→Add-Content
cat
→Get-Content
cd
→Set-Location
chdir
→Set-Location
clc
→Clear-Content
clear
→Clear-Host
clhy
→Clear-History
cli
→Clear-Item
clp
→Clear-ItemProperty
cls
→Clear-Host
clv
→Clear-Variable
cnsn
→Connect-PSSession
compare
→Compare-Object
copy
→Copy-Item
cp
→Copy-Item
cpi
→Copy-Item
cpp
→Copy-ItemProperty
cvpa
→Convert-Path
dbp
→Disable-PSBreakpoint
del
→Remove-Item
diff
→Compare-Object
dir
→Get-ChildItem
dnsn
→Disconnect-PSSession
ebp
→Enable-PSBreakpoint
echo
→Write-Output
epal
→Export-Alias
epcsv
→Export-Csv
erase
→Remove-Item
etsn
→Enter-PSSession
exsn
→Exit-PSSession
fc
→Format-Custom
fhx
→Format-Hex
fl
→Format-List
foreach
→ForEach-Object
ft
→Format-Table
fw
→Format-Wide
gal
→Get-Alias
gbp
→Get-PSBreakpoint
gc
→Get-Content
gci
→Get-ChildItem
gcm
→Get-Command
gcs
→Get-PSCallStack
gdr
→Get-PSDrive
gerr
→Get-Error
ghy
→Get-History
gi
→Get-Item
gjb
→Get-Job
gl
→Get-Location
gm
→Get-Member
gmo
→Get-Module
gp
→Get-ItemProperty
gps
→Get-Process
gpv
→Get-ItemPropertyValue
group
→Group-Object
gsn
→Get-PSSession
gsv
→Get-Service
gu
→Get-Unique
gv
→Get-Variable
h
→Get-History
history
→Get-History
icm
→Invoke-Command
iex
→Invoke-Expression
ihy
→Invoke-History
ii
→Invoke-Item
ipal
→Import-Alias
ipcsv
→Import-Csv
ipmo
→Import-Module
irm
→Invoke-RestMethod
iwr
→Invoke-WebRequest
kill
→Stop-Process
ls
→Get-ChildItem
man
→help
md
→mkdir
measure
→Measure-Object
mi
→Move-Item
mount
→New-PSDrive
move
→Move-Item
mp
→Move-ItemProperty
mv
→Move-Item
nal
→New-Alias
ndr
→New-PSDrive
ni
→New-Item
nmo
→New-Module
nsn
→New-PSSession
nv
→New-Variable
ogv
→Out-GridView
oh
→Out-Host
popd
→Pop-Location
ps
→Get-Process
pushd
→Push-Location
pwd
→Get-Location
r
→Invoke-History
rbp
→Remove-PSBreakpoint
rcjb
→Receive-Job
rcsn
→Receive-PSSession
rd
→Remove-Item
rdr
→Remove-PSDrive
ren
→Rename-Item
ri
→Remove-Item
rjb
→Remove-Job
rm
→Remove-Item
rmdir
→Remove-Item
rmo
→Remove-Module
rni
→Rename-Item
rnp
→Rename-ItemProperty
rp
→Remove-ItemProperty
rsn
→Remove-PSSession
rv
→Remove-Variable
rvpa
→Resolve-Path
sajb
→Start-Job
sal
→Set-Alias
saps
→Start-Process
sasv
→Start-Service
sbp
→Set-PSBreakpoint
select
→Select-Object
set
→Set-Variable
shcm
→Show-Command
si
→Set-Item
sl
→Set-Location
sleep
→Start-Sleep
sls
→Select-String
sort
→Sort-Object
sp
→Set-ItemProperty
spjb
→Stop-Job
spps
→Stop-Process
spsv
→Stop-Service
start
→Start-Process
sv
→Set-Variable
tee
→Tee-Object
type
→Get-Content
where
→Where-Object
wjb
→Wait-Job
write
→Write-Output
Order by Full Name
Add-Content
→ac
Clear-Content
→clc
Clear-History
→clhy
Clear-Host
→clear
•cls
Clear-Item
→cli
Clear-ItemProperty
→clp
Clear-Variable
→clv
Compare-Object
→compare
•diff
Connect-PSSession
→cnsn
Convert-Path
→cvpa
Copy-Item
→copy
•cp
•cpi
Copy-ItemProperty
→cpp
Disable-PSBreakpoint
→dbp
Disconnect-PSSession
→dnsn
Enable-PSBreakpoint
→ebp
Enter-PSSession
→etsn
Exit-PSSession
→exsn
Export-Alias
→epal
Export-Csv
→epcsv
ForEach-Object
→%
•foreach
Format-Custom
→fc
Format-Hex
→fhx
Format-List
→fl
Format-Table
→ft
Format-Wide
→fw
Get-Alias
→gal
Get-ChildItem
→dir
•gci
•ls
Get-Command
→gcm
Get-Content
→cat
•gc
•type
Get-Error
→gerr
Get-History
→ghy
•h
Get-History
→history
Get-Item
→gi
Get-ItemProperty
→gp
Get-ItemPropertyValue
→gpv
Get-Job
→gjb
Get-Location
→gl
•pwd
Get-Member
→gm
Get-Module
→gmo
Get-PSBreakpoint
→gbp
Get-PSCallStack
→gcs
Get-PSDrive
→gdr
Get-PSSession
→gsn
Get-Process
→gps
•ps
Get-Service
→gsv
Get-Unique
→gu
Get-Variable
→gv
Group-Object
→group
Import-Alias
→ipal
Import-Csv
→ipcsv
Import-Module
→ipmo
Invoke-Command
→icm
Invoke-Expression
→iex
Invoke-History
→ihy
•r
Invoke-Item
→ii
Invoke-RestMethod
→irm
Invoke-WebRequest
→iwr
Measure-Object
→measure
Move-Item
→mi
•move
•mv
Move-ItemProperty
→mp
New-Alias
→nal
New-Item
→ni
New-Module
→nmo
New-PSDrive
→mount
•ndr
New-PSSession
→nsn
New-Variable
→nv
Out-GridView
→ogv
Out-Host
→oh
Pop-Location
→popd
Push-Location
→pushd
Receive-Job
→rcjb
Receive-PSSession
→rcsn
Remove-Item
→del
•erase
•rd
•ri
•rm
•rmdir
Remove-ItemProperty
→rp
Remove-Job
→rjb
Remove-Module
→rmo
Remove-PSBreakpoint
→rbp
Remove-PSDrive
→rdr
Remove-PSSession
→rsn
Remove-Variable
→rv
Rename-Item
→ren
•rni
Rename-ItemProperty
→rnp
Resolve-Path
→rvpa
Select-Object
→select
Select-String
→sls
Set-Alias
→sal
Set-Item
→si
Set-ItemProperty
→sp
Set-Location
→cd
•chdir
•sl
Set-PSBreakpoint
→sbp
Set-Variable
→set
•sv
Show-Command
→shcm
Sort-Object
→sort
Start-Job
→sajb
Start-Process
→saps
•start
Start-Service
→sasv
Start-Sleep
→sleep
Stop-Job
→spjb
Stop-Process
→kill
•spps
Stop-Service
→spsv
Tee-Object
→tee
Wait-Job
→wjb
Where-Object
→?
•where
Write-Output
→echo
•write
Alias of Functions
help
→man
mkdir
→md