Hello,
i try to delete the inbox and send folder with a powershell command. Its important that i can specify a date.
I try this command:
Search-Mailbox -Identity "Username" -SearchQuery '(Received:07/02/2013..07/03/2013)' -deletecontent -force
This command work but it remove nocht only received messages, this delete notes contact too....
I found the SearchQuery parametes but i think i cant use one of them.
http://help.outlook.com/en-us/140/ms.exch.ecp.newmailboxsearch_searchquery%28d=loband%29.aspx
Does anyone have an idea?