We've already seen in the previous recipes that parameters can be called without having to specify the entire name, but enough characters to uniquely identify them. For instance, if ComputerName were a parameter, and the cmdlet had no other parameter that starts with c, we could simply say -c MyPc instead of -ComputerName MyPc. However, if the cmdlet also had a ComputerType parameter, then you would have to call ComputerName -computern MyPc, at the very least.
In such situations, especially when running commands on the terminal, we could use a shorter version of these parameter names. This is one of the situations where parameter aliases help. You will notice that, in many cmdlets, you could specify the ComputerName as cn.
Modify the function we created in the previous recipe to accept ct and from as the aliases for the CurrentTime, and tt...