Determine if an array of PSCustomObject’s contains an instance with a property value
Use: $Items.Title -contains ‘foo’
Use: $Items.Title -contains ‘foo’
Scott Muc has started a project for a lightweight BDD framework for PowerShell called Pester: https://github.com/pester/Pester