With a simple Exchange Management Shell command you can display a list of your public folders and the item count for each one.  All you need to do is pipe Get-PublicFolder into Get-PublicFolderStatistics like this:

[PS] C:\>Get-PublicFolder  -Recurse | Get-PublicFolderStatistics

About the Author

Paul Cunningham

Paul is a former Microsoft MVP for Office Apps and Services. He works as a consultant, writer, and trainer specializing in Office 365 and Exchange Server. Paul no longer writes for Practical365.com.

Comments

  1. RobertSeattle

    Thanks.

    There is one slight “bug” – if a folder name is something like “HelloWorld” which is a valid folder name in Exchange Pub lic Folders, Powershell will nag you about this as it parses the recursion wrong I suppose. Certainly not a big deal.

    1. Avatar photo

      Interesting, thanks for pointing that out. I just took a look and the “” is not a valid character for an Exchange 2007 public folder name (the console and shell will both error if you try to use in a PF name).

      However, if the existed in a public folder name for an Exchange org pre-2007 then it would carry forward in the PF heirarchy when Exchange 2007 was installed. So in that case yes you will encounter problems, but should probably address any invalid characters in PF names ASAP.

Leave a Reply