Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Find Your Personal PowerShell Aliases

$
0
0

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'


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>