Deleted Mailbox not appearing in Disconnected mailbox Exchange 2013

I deleted a mailbox a week ago but the Deleted Mailbox is not appearing in Disconnected mailbox Exchange 2013. I need to restore that mailbox. I read about clean-Mailboxdatabase command. Would that work ? Do I need to move all existing mailboxes in that database to another database before running the command ?
Shamsher SinghAsked:
Who is Participating?
Vidit BhardwajAdminCommented:
If it is 2013 try to update the store where user mailbox was:

Get-MailboxStatistics -Database MDB03 | Where { $_.DisconnectReason -ne $null } | ForEach { Update-StoreMailboxState -Database $_.Database -Identity $_.MailboxGuid -Confirm:$false }
Vidit BhardwajAdminCommented:
No need to move mailboxes anywhere also clean-mailnoxdatabase will not work with 2013
timgreen7077Exchange EngineerCommented:
@Vidit Bhardwaj is correct. The clean-mailboxdatabase cmdlet is no longer available in exchange 2013. that cmdlet would have worked but it's removed, so the option present by @Vidit Bhardwaj is the way to resolve this issue. i don't know why MS would remove the clean-mailboxdatabase but they did. it make no sense to me.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Run this and let us know if you see the mailbox you wanted to recover.

Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisconnectReason -eq "Disabled" } | ft DisplayName,Database,DisconnectDate

If a mailbox is disabled or disconnected it will be retained for 30 days by default.  However, if you used Remove-Mailbox cmdlet with Permanent or StoreMailboxIdentity parameter then it's deleted from the mailbox database.  How did you delete the mailbox?
Shamsher SinghAuthor Commented:
Thank you guys
Vidit Bhardwaj solution worked for me
Vidit BhardwajAdminCommented:
Thanks Shamsher :)
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.