Adjsuted where-object to use the 2.0 syntax