Bug: Get-PublicFolderStatistics limits resultsize even when searching for a specific folder
Most people know that when you run Get-PublicFolderStatistics, it limits the results to 100 entries. What's less commonly known is that it does this same resultsize limitation even when you give it a specific public folder. This is a bug. [PS] C:\Windows\system32>Get-PublicFolderStatistics -Identity '\Work in progress' Couldn't find public folder "\Work in progress" on server "[redacted]". + CategoryInfo : InvalidData: (Work in progress:PublicFolderIdParameter) [Get-Public FolderStatistics], InvalidOperationException + FullyQualifiedErrorId : 7830D023,Microsoft.Exchange.Management.MapiTasks.GetPublicFolderStatistics [PS] C:\Windows\system32>Get-PublicFolderStatistics -Identity '\Work in progress' -resultsize unlimited Name ItemCount LastAccessTime ---- --------- -------------- Work in progress 17 11/12/2010 5:34:44 PM I actually first noticed this because half of my public folders were saying "Not available on this server" for the folder statistics in the Public Folder Management Console. I am in the middle of an Exchange 2003->2010 migration, and was extremely worried by this, thinking that I had botched something somewhere. Turns out everything was fine with the public folder database, it was just not returning results for folders beyond the 100 item mark. Any chance of fixing the cmdlet so it works properly? An aside: It seems that there is no way to submit a bug report to Microsoft about Exchange. Microsoft Connect has many product listed, but Exchange (and Outlook!) are not among them. I opened a chat request through support.microsoft.com and they gave me a snail mail address, then when I pressed them, suggested I come here. Attn: <Product Name> Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052
November 13th, 2010 9:39pm

This is a very stupid and annoying bug ... I've spent a day figuring out why public folders replicas does not work (when I look from Public Folder Management Console I saw "Not available on this server") ... then I realize that the powershell command used by PFMM does not set ResultSize = Unlimited ... P.S.: this bug make the Management Console useless... if a PF is not on first 100, you cannot set permission, update content, mail-enable, etc.
Free Windows Admin Tool Kit Click here and download it now
November 15th, 2010 1:47pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics