Exchange 2010 - Remove disconnected archive mailbox
I am playing with Exchange 2010 personal archive feature. I have successfully tested following:
Enabled archive for one user, move a few emails into it. Then disabled archive. Enabled/Disabled archive for the same user again. Then I was able to re-connect the user back to the original archive mailbox with the messages inside.
Then I got problem to remove the disconnected archive mailboxes from Exchange.
Tried to remove the mailbox with command: remove-mailbox -Identity MAILBOXGUID -database -Permanent $true
Got error:
The operation couldn't be performed because object 'MAILBOXGUID' couldn't be found on 'exchangeServer.domain.local'
I double checked the GUID it is correct, somehow Exchange cannot resolve it...
January 17th, 2011 12:13am
Silly me...
To unhide the disconnected mailbox, simply run:
clean-mailboxdatabase "Mailbox Database 112123414"
Then you will be able to remove it with remove-mailbox command.
Free Windows Admin Tool Kit Click here and download it now
January 17th, 2011 12:31am