Find object properties containing a certain value

I’ve been trying to work out how I and loop through all of an object’s items to see if they contain a certain value.
For example I want to see if an incorrect email address is in any of an exchange mailbox’s properties.

You can try something like ths

$users = Get-mailbox
foreach ($user in $users){
foreach ($property in $user.propertyNames) {
#now you can get a handle on each object and process it as needed
} #End For Each Property
}#End For Each User