I am trying to use the following EMC command:
Search-Mailbox -Identity "<user>" -SearchQuery 'Subject:"Example subject"' -DeleteContent
And it works, the problem is, almost too well. So it will go into a mailbox and delete any email with the subject:
but it will also delete any with the subject
RE: Example Subject
FW: Example subject
my question is how do I do this, and have the exact string, so it won't delete variations of it ?