Get-Alias

noun

say it: “GET AY-lee-us” /ɡɛt ˈeɪliəs/

The PowerShell command that shows which full command a short name runs, or lists every short name a command has.

What does Get-Alias do?

Get-Alias tells you what a short name really runs, or, with -Definition, every short name a command has.

Get-Alias ls                        # ls -> Get-ChildItem
Get-Alias -Definition Get-Process   # gps and ps

In a sentence

  • “With Get-Alias -Definition, Sam found every short name for Get-Process.”
  • “Get-Alias ls showed that ls runs Get-ChildItem.”

Level: Novice · More PowerShell terms at this level

Updated