The ability to generate reports based on individual mailbox folders can be extremely useful at times. The Exchange Management Shell provides a versatile cmdlet called
Get-MailboxFolderStatistics that allows you to obtain detailed information about specific mailbox folders such as
Items, and more. Various pieces of information about these folders can be obtained including the total number of items, the size of the folder, and the folder ID. In this recipe, you will learn how to generate reports using the
To generate a report for the folders within a user's mailbox, use the following command:
Get-MailboxFolderStatistics -Identity testuser ...