Learn about Windows PowerShell
Summary: Use wildcard characters to find Windows PowerShell cmdlet aliases.
How can I display all one-letter Windows PowerShell cmdlet aliases?
Get-Alias ?
Hi Ed,
you can also display property alias with this:
get-alias | ForEach {
$cmd=get-command $_.definition
$alias=$cmd.parameters | select -expand values | select -expand Aliases
new-object PSObject -prop @{
Name = $_.definition
Alias = $_.Name
AliasProperty = $alias
}
@Walid Toumi this is a great suggestion. Thank you so much for sharing. I love property aliases.
The function of Walid is really great aswell.