Set-Alias
suggest changeSet-Alias creates an alternate name for an existing command.
PS C:\> Set-Alias -Name proc -Value Get-Process
PS C:\> proc
Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id SI ProcessName
------- ------ ----- ----- ----- ------ -- -- -----------
292 17 13052 20444 ...19 7.94 620 1 ApplicationFrameHost
....
An alias created this way lasts only for the current session. Create it again in a new session, or put the Set-Alias command in a profile.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents