Set-Alias

suggest change

Set-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.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents