In this post we are going to look at a simple method to identify all the folders and the folder-sizes a user has in their mailbox, including both default and user created folders.
Using the Exchange Management Console, type in the command below to output both the path and size of each folder in a specified mailbox.
Get-MailboxFolderStatistics -Identity “Firstname Surname” | fl FolderPath, FolderSize
If there are a particular high volume of folders you may run into a problem whereby not all the results show in the command shell. To get around this you can output the results into a .txt document.
To do this all you need to do is add a small addition to the end of the previous command.
Get-MailboxFolderStatistics -Identity “Firstname Surname” | fl FolderPath, FolderSize | Out-File C:\Temp\MailboxFolder.txt
That’s it, simple but effective! – Hope this was helpful