How to use Get-MailboxFolderStatistics in PowerShell to get detailed mailbox folder data from Exchange and Office 365

Problem:

How do you pull off all information about folders within a users mailbox or within a shared mailbox?  If you want to see detailed information about the folders within a user’s mailbox such as item count, folder size and much more please see below.

Solution:

Use the Get-MailboxFolderStatistics command as below:

Get-MailboxFolderStatistics -Identity "John Smith" | Export-Csv C:\Temp\JohnSmithFolderData.csv




Leave a Reply

Your email address will not be published. Required fields are marked *