As a general rule of thumb, cmdlets should provide the ability to bind parameters from the pipeline, as this will enable more people to use a function in any way they want to. As a script developer, enabling pipeline input is not a very complicated task, but it does require some thought going into the design of the cmdlet.
In this recipe, we will explore how to enable pipeline input by property name, as well as by value.