Can’t find disconnected or deleted mailboxes

Can’t find disconnected or deleted mailboxes ?
 
Use this to check your databases:
Step 1:
Cleans all databases in the specific store
Get-Mailboxdatabase | Where{ $_.Server –eq “<servername>”} | clean-MailboxDatabase 
Step 2:
Get a list of mailboxes in disabled state after cleaning the databases in Step 1
Get-MailboxStatistics -Database <DatabaseName> | Where { $_.DisconnectReason -eq “Disabled” } | Format-List LegacyDN, DisplayName, MailboxGUID, DisconnectReason
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: