Exchange 2010 Disconnected Mailboxes

The other day I disabled 47 mailboxes which removed the mailbox from the AD account information.  All mailboxes where on the same DB.  We're running in a 4 member DAG setup.  I took looked at disconnected mailbox in EMC and only seeing about half the mailboxes showing up.  From the EMS i've run Get-MailboxDatabase "DB Name" |Clean-MailboxDatabase several times to see if I the mailboxes weren't marked as disconnected for some reason.  A few additional showed up but I'm still missing about half of the disconnected mailboxes.  I also ran the following  command to get a list of all disconnected mailboxes on the DB and this yields the same number as what I see in the EMC.

Get-MailboxStatistics -Database "DB Name"|where {$_.disconnectdate -ne $null}|Sort-Object displayname

Some of these mailboxes where brand new and probably never received any mail before I disabled them.  Although some of the disconnected mailboxes are showing a 0 item count.
georgedschneiderAsked:
Who is Participating?
 
Gareth GudgerCommented:
Hey George,

If the mailbox never sent or received an email message it would never have actually been initialized. So it won't show as disconnected. Only mailboxes that have data will show as disconnected when you disable them.

I just confirmed this in my lab as well.
0
 
Ben HartCommented:
IIRC Exchange won;t actually create the mailbox object inside the DB until it receives a mail item.  I could be wrong though.  I don;t have a DAG so I can't attest to differences between a single server and multiples.
0
 
Ben HartCommented:
Nice, thanks for the confirmation G.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
georgedschneiderAuthor Commented:
This is what I initially thought as well except for the fact there is 1 or 2 boxes that have an item count of 0 but still show as disconnected.  Could this be an anomaly?
0
 
Ben HartCommented:
Is it possible they got an item(s) and were deleted?  I'd think they'd have to have been used at least for a single item.. email, task, note, calendar, etc, Exchange isn't going to really going to mess up on that.
0
 
Gareth GudgerCommented:
I'd agree with Ben on that.
0
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.