Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2011-03-19
This topic explains how to use the Exchange Management Shell to retrieve statistics about a public folder, such as the display name, creation time, last user modified time, last user access, and item size. You can use this information to make decisions about deleting or keeping public folders.
You can also use the Get-PublicFolderItemStatistics cmdlet and the AggregatePFDAta.ps1 script to view additional information about public folders and their contents. For more information, see View Public Folder Item Statistics.
Looking for other management tasks related to managing public folders? Check out Managing Public Folders.
Use the Shell to retrieve public folder statistics
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Public folders" entry in the Mailbox Permissions topic.
|You can't use the EMC to retrieve public folder statistics.|
This example returns the statistics for the public folder Marketing with a piped command to format the list.
Get-PublicFolderStatistics -Identity \Marketing | fl
|The value for the Identity parameter must include the path. For example, if the public folder Marketing existed under the parent folder Business, you would provide the following value: \Business\Marketing|
For detailed syntax and parameter information, see Get-PublicFolderStatistics.