I need some assistance here.
I'm needing to export emails to and from a certain email address and this doesn't seem to be grabbing them.
Get-mailbox -database "Mailbox Database" | export-mailbox -ContentKeywords "email@example.com" -TargetFolder "\Discovery" -TargetMailbox legadiscovery
If I do a search by say, my name it finds it in the body of the message and exports correctly, but I'm needing to capture all emails from both sender and receiver. If I use the email address requested it doesn't turn up anything. Even though there's quite a few in a few peoples mailboxes.
Any help would be great!