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
Thanks soooo SOOOooOOO much for this tiny script!
https://www.practical365.com/ems-exchange-2007-public-folder-item-count
now we dont have to count our PF structures one-by-one anymore.. what a blessing!
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.
The Real Person!
The Real Person!
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.