concept Alias attribute in category powershell

appears as: Alias attribute, The Alias attribute
Windows PowerShell in Action, Third Edition

This is an excerpt from Manning's book Windows PowerShell in Action, Third Edition.

7.2.5. Creating parameter aliases with the Alias attribute

The Alias attribute allows you to specify alternate names for a parameter. It’s typically used to add a well-defined shortcut for that parameter. If you’ll recall our parameter discussion in chapter 1, we said that you only have to specify enough of a parameter name to uniquely identify it. Unfortunately, if you add a new parameter to a command that has the same prefix as an existing parameter, you now need a longer prefix to distinguish the name.

Any scripts that used the old short prefix would fail because they’d be unable to distinguish which parameter to use. This is where the Alias attribute comes in. It can be used to add distinctive and mnemonic short forms for parameters.