How to list per user the number of Emails older than 2 years from today. PowerShell Statement.
Can somebody give a statement i can use on our Exchange Server 2007 witch shows all mails older then today minus 2 years.
Specified per user with the emails older than 2 years counted in a row next to the user.
I was thinking on modifing a statement with includeoldestandnewestitems, was i on the right track?
Greets Robbert
March 8th, 2011 6:21am
Hi,
You could use the command Export-Mailbox and choose a date range (-StartDate and -EndDate). And I would like suggest you export the content to a target folder in a target mailbox.
For detail, please see,
Exchange Server 2007 Export Mailbox Task:
http://msexchangeteam.com/archive/2006/11/28/431669.aspx
Export-Mailbox:
http://technet.microsoft.com/en-us/library/aa998579(EXCHG.80).aspx
How to Export Mailbox Data:
http://technet.microsoft.com/en-us/library/bb266964(EXCHG.80).aspx
Best regards,
Serena
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
March 10th, 2011 6:36am