Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Exchange 2010 Delete all mails till a date for all users

$
0
0

Hi , 

I want to delete on my exchange for all users till a date 20/07/2016 .

in all folders , and do not move it to the trash box .

I used this command but this will not work : 

get-mailbox | search-mailbox -SearchQuery "Received:<$(20/07/2016)" -deletecontent


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>