Hello,
I am trying to search all mailboxes in a specific date range for all mails to and from a specific emailaddress.
I have tried the several variations of the search-mailbox command, but here is the latest.
Get-Mailbox | Search-Mailbox -TargetMailbox Administrator -TargetFolder Discovery -LogLevel Full -IncludeUnsearchableItems -SearchQuery 'Sent:{01/01/2014..01/02/2014} AND To:mail@domain.com'
"The KQL Parser threw an exception".
Could someone please tell me the correct way to use the Search-Mailbox cmdlet to accomplish what I'm trying to do?