Exchange Server - objtfolder

Asked By Joe L on 30-Apr-10 11:33 AM
Hi,

My company uses Exchange 2007 and Outlook 2007 clients. Some of our Sales
staff have access to additional shared mailboxes but we often find that
Outlook 2007 stops downloading new emails and this event is registered on our
server:

Description: Closing Mapi session "/o=Exchange Organization/ou=Exchange
Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=user" exceeded the
maximum of 500 objects of type objtFolder

I have read this article about how to change my server's maximum:
http://technet.microsoft.com/en-us/library/bb676486(EXCHG.80).aspx

But what I really want to know is how many folders are actually in each
mailbox so I can make a sensible decision on what the new maximum limit
should be.

Does anyone know of a command to find out how many folders are in each
mailbox? I have looked at the get-mailboxfolderstatistics command but there
is no option I can see for this?

All the best,
Joe


RAM replied on 21-May-10 03:30 PM
s
n our
nge
ed the
ere

I was looking for this too. Your method work great, Rich, but it
counts all kinds of (hidden) system folders in the user's mailbox. I
tried to include "where-object {$_.foldertype -eq 'user created'}" but
that did not display ANYTHING. Is there a way to find just the number
of user-created folders?

-RAM
RAM replied to RAM on 21-May-10 04:20 PM
les
t
on our
hange
eded the
there

Never mind - i was incorrect. this DOES give an accurate count of what
the user sees in Outlook. I thought they would not see some of the
folders because their FolderType was not 'user created'.

-RAM