Open main menu

My Notepad β

Microsoft/Exchange/2007

Links

Disconnected Mailboxes

After removal of Active Directory objects, the following command needs to be run to get the disconnected mailbox to be listed in the Disconnected Mailbox list in the MMC:

Get-MailboxDatabase
Clean-MailboxDatabase “Mailbox Database”

Delete mailbox from the database

$Temp = Get-MailboxStatistics | Where{$_.DisplayName -eq “Vijay Kumar”}

Remove-Mailbox -Database ” DB Name” -StoreMailboxIdentity $Temp.MailboxGuid