Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, September 16, 2015 11:16 AM
Hello!
Is there a way to get the number of emails in a mailbox folder between a date range?
I have tried Get-MailboxFolderStatistics, but it not allows date ranges.
Thanks!
All replies (3)
Wednesday, September 16, 2015 11:18 AM ✅Answered
Search-Mailbox
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
Wednesday, September 16, 2015 8:02 PM ✅Answered
Hi,
New-MailboxSearch will allow you to get all emails within a certain date range and copy to another mailbox: https://technet.microsoft.com/en-us/library/dd298064(v=exchg.150).aspx although I'm not sure how you'll be able to limit this to a particular folder.
If you only need to export email for a particular date range then use New-MailboxSearch with the -EstimateOnly switch. If you need to get the email count for a particular folder in a mailbox then take a look at Get-MailboxFolderStatistics: https://technet.microsoft.com/en-us/library/aa996762(v=exchg.150).aspx.
Check you have the correct permissions before using either cmdlet.
Let me know if this answers your question.
Thanks.
Mark Gossa
MCSE 2003, MCITP Enterprise Administrator 2008 R2, MCSA 2012 R2, MCTS Exchange 2010
Blog: http://markgossa.blogspot.com
Posts are provided “AS IS” without warranty of any kind, either expressed or implied.
Wednesday, September 16, 2015 4:51 PM
Hello,
Please find the below articles:
https://technet.microsoft.com/en-us/library/aa997573(v=exchg.150).aspx
http://www.techrid.com/exchange-server-2010/message-tracking-in-exchange-server-20102013/
Regards,
Praveen Kumar
Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts @ Techrid.com