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 SinghSystem AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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 }

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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.
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

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 SinghSystem AdministratorAuthor Commented:
Thank you guys
Vidit Bhardwaj solution worked for me
Vidit BhardwajAdminCommented:
Thanks Shamsher :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.