How to Get Statistics for Public Folders
Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
This topic explains how to use the Exchange Management Shell to get public folder statistics, such as the display name, creation time, last modified time, and item size. The following figure illustrates the statistics as they appear in the Exchange Management Shell.
Public folder statistics
Before You Begin
Permissions and Prerequisites for the Release to Manufacturing (RTM) Version of Exchange 2007
To perform the following procedure in the RTM version of Exchange 2007, the account you use must be delegated the following:
- Exchange Server Administrator role and local Administrators group for the target server
Also, before you perform this procedure, be aware that in the RTM version of Exchange 2007, you can view public folder statistics only in the Exchange Management Shell. You cannot use the Public Folder Management Console.
Permissions and Prerequisites for Exchange 2007 Service Pack 1 (SP1)
To perform this procedure, the account you use must be delegated the following:
- Exchange Public Folder Administrator role and local Administrators group for the target server
Procedure
To use the Exchange Management Shell to get public folder statistics
Run the following command:
Get-PublicFolderStatistics -Identity <PublicFolderIdParameter>
For example, to get the statistics for a public folder named Marketing with a piped command to format the list, run the following command:
Get-PublicFolderStatistics -Identity \Marketing | fl
Note
The value for the Identity parameter must include the path. For example, if the public folder named Marketing existed under a parent folder named Business, you would provide the following value: "\Business\Marketing"
For detailed syntax and parameter information, see the following reference topics:
For More Information
For a list of the Exchange Management Shell cmdlets that you can use to manage public folders, see Managing Public Folders.
For more information about using the Exchange Management Shell, see Using the Exchange Management Shell.