Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 4521

Include Space and Period Characters in Search-Mailbox / -SearchQuery

$
0
0

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?



Viewing all articles
Browse latest Browse all 4521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>