PowerShell Not your Father’s Command Line Part 6 of 31: A Cmdlet By Any Other Name Would Be An Alias

As our PowerShell adventures continue, Matt is talking about aliases. He mentions that the ls command of Unix is aliased in PowerShell. But one of the Unix commands that isn’t aliased is alias. Really… they left the obvious alias out of the built-in aliases?!? This just causes me to shake my head.

Here’s how to create the alias alias:

Set-Alias alias Set-Alias

Yes, a nice Set-Alias sandwich!

Now, when my Unix/Linux roots kick in, I can use alias to create my aliases. This makes me much happier!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.