get statistics for disconnected archive mailboxes

I have several mailboxes which were disconnected.  The main mailbox was reconnected to a temp user and dumped to pst then disconnected again.  However the archive mailbox would not reconnect apparently due to the user not being the same.

I would like to know how many emails are in these disconnected archive mailboxes.  

Can anyone provide an EMC command that will work on disconnected archive mailboxes?
Who is Participating?
Jon BrelieConnect With a Mentor System ArchitectCommented:
Try this one:

get-mailboxdatabase | clean-mailboxdatabase

Get-MailboxDatabase | Get-MailboxStatistics | ? {$_.DisconnectDate} | select DisplayName, itemcount, {$_.totalitemsize.value.tomb()}
YMartinAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.