How can I get all aliases for a cmdlet? For example Get-Help
cmdlet has gcm
and man
.
I tried Get-Alias
but it gives unwanted answers. My requirement is to get all the aliases for a particular cmdlet.
You can get this info by using -Definition
parameter:
Get-Alias -Definition Get-Help
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With