{"id":2130,"date":"2017-05-16T21:18:17","date_gmt":"2017-05-16T21:18:17","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=2130"},"modified":"2017-05-16T21:18:17","modified_gmt":"2017-05-16T21:18:17","slug":"how-to-view-disconnected-mailboxs-and-purge-disconnected-mailboxes-from-exchange-2010","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=2130","title":{"rendered":"How to View Disconnected Mailbox\u2019s and Purge Disconnected Mailboxes from Exchange 2010"},"content":{"rendered":"<p>To view disconnected mailbox\u2019s, essentially mailboxes that have been deleted from their user accounts, you need to first ensure that Exchange has gone through and cleaned the database.\u00a0 This is done to ensure that it marks that mailbox as deleted.\u00a0 If your database is MDB36, run the following command:<\/p>\n<p>Clean-MailboxDatabase MDB36<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"http:\/\/port25.files.wordpress.com\/2011\/12\/image_thumb.png\" alt=\"image\" width=\"450\" height=\"43\" border=\"0\" \/><\/p>\n<p>Exchange gives no result from the command.\u00a0 But now you can view Disconnected mailboxes through the \u201cDisconnected Mailbox\u201d view in the EMC:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"http:\/\/port25.files.wordpress.com\/2011\/12\/image_thumb1.png\" alt=\"image\" width=\"217\" height=\"191\" border=\"0\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"1\" src=\"http:\/\/port25.files.wordpress.com\/2011\/12\/1_thumb.jpg\" alt=\"1\" width=\"450\" height=\"97\" border=\"0\" \/><\/p>\n<p>You can also view it in the shell by running the following command:<\/p>\n<p>Get-MailboxStatistics \u2013Database MDB36 | where {$_.disconnectdate \u2013ne $null}<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"http:\/\/port25.files.wordpress.com\/2011\/12\/image_thumb2.png\" alt=\"image\" width=\"450\" height=\"29\" border=\"0\" \/><\/p>\n<p>And you will receive the following output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"http:\/\/port25.files.wordpress.com\/2011\/12\/image_thumb3.png\" alt=\"image\" width=\"450\" height=\"41\" border=\"0\" \/><\/p>\n<p>By default, Exchange 2010 keeps disconnected mailbox\u2019s in the DB for 14 days.\u00a0 But say you want to remove this mailbox now and return it\u2019s white space to use in the DB.\u00a0 You need to remove the mailbox from the shell.<\/p>\n<p>You can do this by getting the GUID for the mailbox by running the command:<\/p>\n<p><em>Get-MailboxStatistics \u2013Database MDB36 | where {$_.disconnectdate \u2013ne $null} | select displayname,MailboxGUID<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"http:\/\/port25.files.wordpress.com\/2011\/12\/image_thumb4.png\" alt=\"image\" width=\"450\" height=\"21\" border=\"0\" \/><\/p>\n<p>And you will receive the following output:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"http:\/\/port25.files.wordpress.com\/2011\/12\/image_thumb5.png\" alt=\"image\" width=\"450\" height=\"47\" border=\"0\" \/><\/p>\n<p>Now run the following command to remove the mailbox:<\/p>\n<p><em>Remove-Mailbox \u2013Database MDB50 \u2013StoreMailboxIdentity 7b40b106-5941-4de0-9fce-27ede21c474e<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"http:\/\/port25.files.wordpress.com\/2011\/12\/image_thumb6.png\" alt=\"image\" width=\"450\" height=\"23\" border=\"0\" \/><\/p>\n<p>You\u2019ll receive a confirmation prompt, just accept it, and your all set:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"http:\/\/port25.files.wordpress.com\/2011\/12\/image_thumb7.png\" alt=\"image\" width=\"450\" height=\"52\" border=\"0\" \/><\/p>\n<p>all done!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To view disconnected mailbox\u2019s, essentially mailboxes that have been deleted from their user accounts, you need to first ensure that Exchange has gone through and cleaned the database.\u00a0 This is done to ensure that it marks that mailbox as deleted.\u00a0 If your database is MDB36, run the following command: Clean-MailboxDatabase MDB36 Exchange gives no result [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,22],"tags":[],"class_list":["post-2130","post","type-post","status-publish","format-standard","hentry","category-exchange-2007","category-exchange-2010"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2130"}],"version-history":[{"count":1,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2130\/revisions"}],"predecessor-version":[{"id":2131,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2130\/revisions\/2131"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}