Get-PublicFolderStatistics (RTM)

Exchange 2007

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

Topic Last Modified: 2015-03-08

Use the Get-PublicFolderStatistics cmdlet to retrieve statistical information about public folders, such as folder size and last logon time.

Get-PublicFolderStatistics [-Identity <PublicFolderIdParameter>] [-DomainController <Fqdn>] [-Server <ServerIdParameter>]

To run the Get-PublicFolderStatistics cmdlet, the account you use must be delegated the following:

  • Exchange View-Only Administrator role

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.


Parameter Required Type Description




To specify the fully qualified domain name (FQDN) of the domain controller that retrieves data from the Active Directory directory service, include the DomainController parameter in the command.




Use the Identity parameter to specify the GUID or public folder name that represents a specific public folder. You can also include the path using the format TopLevelPublicFolder\PublicFolder.

You can omit the parameter label Identity so that only the public folder name or GUID is supplied.




The Server parameter specifies which server to check. If a server is not specified, the command uses the local server.


Error Description



Exceptions Description


In this example, the Get-PublicFolderStatistics command is used to retrieve statistics about the server My Server. The output of the Get-PublicFolderStatistics command is piped to the Format-List command so that all the available information is displayed in the result.

Get-PublicFolderStatistics -Server "My Server" | Format-List