April 8th, 2013

PowerTip: Easily Find PowerShell Aliases for Cmdlets

Doctor Scripto
Scripter

Summary: Learn how to easily find Windows PowerShell aliases for cmdlets.

Hey, Scripting Guy! Question How can I find if there is an alias for a specific cmdlet by using Windows PowerShell 3.0?

Hey, Scripting Guy! Answer Use the Get-Alias cmdlet and the Definition parameter to look for aliases for a specific cmdlet:

PS C:\> Get-Alias -Definition get-command

CommandType     Name                                               ModuleName

———–     —-                                               ———-

Alias           gcm -> Get-Command

 

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.