Link to home
Start Free TrialLog in
Avatar of Olga Barannik
Olga Barannik

asked on

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?
Avatar of Vick Vega
Vick Vega
Flag of Canada image

You're correct, Get-MailboxFolderStatistics will provide your with the required info, example:
Get-MailboxFolderStatistics -Identity username | ft FolderPath, FolderSize

Open in new window

Avatar of Olga Barannik
Olga Barannik

ASKER

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?
I think I just need a date range for this -
get-mailbox -Identity username | Get-MailboxStatistics | select-object TotalItemSize?
ASKER CERTIFIED SOLUTION
Avatar of Vick Vega
Vick Vega
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial