I have been trying to find out how to do a search-mailbox command to find emails with a particular name during a given year and it works just fine, but I want to run it with deduplication enabled. You can do this through the gui, so I would imagine there is a way to do it via powershell but I can't seem to figure it out. Here is my regular search query:
Get-mailbox -resultsize unlimited | search-mailbox -searchquery '"some guys name" AND (sent:01/01/11..12/31/11)' -targetmailbox "discovery search mailbox" -targetfolder "search"
If this should be in the exchange forum, let me know.