PoshCode Archive  File History

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of where-in.ps1

where-in and where-propertyin are filters that allow to pass through pipeline object that are in a specified array/collection, or that have a property that is in an array or collection. They also can take a scriptblock that can be used to implement a comparision when the relationship isn’t exact. in that scriptblock the variable $__ is created to represent the item in the collection being compared with the pipeline $_ object. see examples embedded. file: [1e39bf7074] check-in: [b1737686f6] user: karl prosser branch: trunk, size: 2487 Added