May 17th, 2015

PowerTip: Find PowerShell Aliases by Module

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to find aliases by module.

Hey, Scripting Guy! Question How can I easily find which modules expose aliases?

Hey, Scripting Guy! Answer Use the Get-Alias cmdlet and pipe the results to the Sort-Object cmdlet (Sort is an alias), for example:

Get-Alias | sort modulename -Descending

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.