List and size of all folders – Exchange Mailbox – user created / default

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

Mailbox folders

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

Exchange Output

That’s it, simple but effective! – Hope this was helpful

 

 


Thanks for reading – feel free to follow and stay updated 🙂  View sysadminguides’s profile on Facebook View GuidesSysadmin’s profile on Twitter View 115372466162675927272’s profile on Google+

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s