Don’t use aliases in scripts

Aliases are alternate names or nicknames for a cmdlet or for a command element, such as a function, script, file, or executable file. When I teach PowerShell, I usually divide aliases into two groups: Transitional aliases such as ls or dir (for Get-ChildItem), and type or cat (for Get-Content) that are aimed for people transitioning…

2