Need to report on all of the individual folders within a mailbox, returning such information as their size within a date range.

I was asked to take a look at the mailbox to inventory the size and dates of the mail to see what archiving policy would reduce the mailbox size by at least 50-70%. If this user has 45GB in the last 6 months, then a 1 year policy won’t be of much value and I think that the user won’t want anything less than a year. I need to find a report mailbox folder sizes with PowerShell within a date range. I think I should use the Get-MailboxFolderStatistics -identity cmdlet but not certain. Can you help?
Olga BarannikAsked:
Who is Participating?
 
RoninCommented:
You're correct, Get-MailboxFolderStatistics will provide your with the required info, example:
Get-MailboxFolderStatistics -Identity username | ft FolderPath, FolderSize

Open in new window

0
 
Olga BarannikAuthor Commented:
Thank you. I think my question wasn't clear thought. I need to calculate the size of all items in mailbox within a date range. For instance, I need the total size of items from 1/1/16 to 1/1/17. Do I need to open a different question?
0
 
Olga BarannikAuthor Commented:
I think I just need a date range for this -
get-mailbox -Identity username | Get-MailboxStatistics | select-object TotalItemSize?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.