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