I am trying to use Search-Mailbox to find messages that contain someone's initials in the subject - let's say A.B.
I wrote my cmd to include:
-SearchQuery 'subject:"A. B." OR subject "A.B."'
When I run this it returns far more messages than I want, because it doesn't seem to be finding an exact match for the phrases in the double quotes.
For example, an email with the subject that just has "A B" in it somewhere still get returned as a match.
How do I write it to honor the period or space characters as part of the search string?