O'Reilly logo
  • Mandar Gothoskar thinks this is interesting:

This bears repeating. When performing parameter binding in the pipeline, PowerShell always tries to bind ByValue first, and then ByPropertyName second if it can’t find a match by value.

From

Note

Parameter Binding in Pipeline: ByValue first then ByProperty