PowerTip: Easily Find PowerShell Aliases for Cmdlets

Doctor Scripto

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

 

0 comments

Discussion is closed.

Feedback usabilla icon