Export (0) Print
Expand All

View Statistics for Public Folders and Public Folder Items

 

Applies to: Exchange Server 2013, Exchange Online

Topic Last Modified: 2013-02-14

This topic explains how 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 retaining public folders.

noteNote:
In the Exchange admin center (EAC), you can view some of the quota and usage information for public folders by navigating to Public Folders > Edit Edit Icon > Mailbox usage. However, this information is incomplete, and we recommend that you use the Shell to view public folder statistics.

For additional management tasks related to managing public folders, see Public Folder Procedures.

For additional management tasks related to public folders, see Public Folder Procedures in Exchange Online.

  • Estimated time to complete: 1 minute.
  • You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Public folders" entry in the Sharing and Collaboration Permissions topic.
  • You can't use the EAC to retrieve public folder statistics.
  • For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard Shortcuts in the Exchange Admin Center.
tipTip:
Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection

This example returns the statistics for the public folder Marketing with a piped command to format the list.

Get-PublicFolderStatistics -Identity \Marketing | Format-List
noteNote:
The value for the Identity parameter must include the path to the public folder. 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.

You can view the following information about items within a public folder:

  • Type of item
  • Subject
  • Last user modification time
  • Last user access time
  • Creation time
  • Attachments
  • Message size

You can use this information to make decisions about what actions to take for your public folders, such as which public folders to delete. For example, you may want to delete a public folder if the items haven't been accessed for over two years, or you may want to convert a public folder that's being used as a document repository to another client access application.

This example returns default statistics for all items in the public folder Pamphlets under the path \Marketing\2013. Default information includes item identity, creation time, and subject.

Get-PublicFolderItemStatistics -Identity "\Marketing\2013\Pamphlets"

This example returns additional information about the items within the public folder Pamphlets, such as subject, last modification time, creation time, attachments, message size, and the type of item. It also includes a piped command to format the list.

Get-PublicFolderItemStatistics -Identity "\Marketing\2010\Pamphlets" | Format-List

For detailed syntax and parameter information, see Get-PublicFolderItemStatistics.

This example exports the output of the cmdlet to the PFItemStats.csv file that includes the following information for all items within the public folder \Marketing\Reports:

  • Subject of the message (Subject)
  • Date and time that the item was last modified (LastModificationTime)
  • Whether the item has attachments (HasAttachments)
  • Type of item (ItemType)
  • Size of the item (MessageSize)
Get-PublicFolderItemStatistics -Identity "\Marketing\Reports" | Select Subject,LastModificationTime,HasAttachments,ItemType,MessageSize | Export-CSV C:\PFItemStats.csv

For detailed syntax and parameter information, see Get-PublicFolderItemStatistics.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft