PowerTip: Find Your Personal PowerShell Aliases

Doctor Scripto

Summary: Learn how to find your personally created Windows PowerShell aliases.

Hey, Scripting Guy! Question I need a way to identify personally created Windows PowerShell aliases. How can I easily do this?

Hey, Scripting Guy! Answer When creating a custom alias, specify the Description property. You can then search for aliases that use that description, as shown here.

New-Alias -Name dog -Value get-content -Description ‘mred alias’

Get-Alias | ? description -match ‘mred’

0 comments

Discussion is closed.

Feedback usabilla icon