Monday, July 26, 2010

Disconnected Mailboxes in Exchange 2007/2010

Where did the mailbox go?  Have you asked that question after you have disabled or removed a user from Exchange?  So let’s take one step back.  There are two options to disconnect a mailbox from a user in Exchange 2007/2010: Disable or Remove.  The following shows the options from the Exchange EMC.

Disconnected-EMC-mailbox-del-rem-markup

If you select Disable, the just disconnects the mailbox for the AD account.  If you select Remove, this actually deletes the AD account.  Once either of these are selected the mailbox becomes “disconnected”.  A disconnected mailbox is a mailbox object that is not associated with an AD user account.  Naturally, the administrator will then navigate to the Recipient Configuration –> Disconnected Mailbox node and expect to find the newly disconnected mailbox.  Unfortunately, the node is empty.

Disconnected-EMC-emptySo why is this node empty and when will I see the mailbox?  The mailbox will appear after the Online Maintenance window defined for the Exchange server.  If the administrator wants the mailbox to appear right away, the following command can be run in the EMS:

Clean-MailboxDatabase “DatabaseName” or Get-MailboxDatabase | Clean-MailboxDatabase (to clean all databases)

Disconnected-EMS-CleanIf this is an Exchange 2007 server and multiple servers or storage groups are present then that information will need to be included in the command:

Clean-MailboxDatabase “Server\Storage Group\DatabaseName”

After that, refresh the Disconnected Mailbox node the mailbox appears.

Disconnected-EMC-mailboxThat’s it!

6 comments:

  1. Great post, easy and clear

    ReplyDelete
  2. where do i find that command window?

    ReplyDelete
  3. Exchange Management Shell or EMS can be found under Microsoft Exchange Server folder under All Programs.

    ReplyDelete
  4. Nice Article and it helps me to resolve one of my issue.

    ReplyDelete
  5. For all you who grew up in the ’90s, Offspring and adidas have something special in store for you. Taking inspiration from the ’90s, check out the upcoming Offspring x adidas Originals Britpack Collection.The Offspring x adidas Originals Britpack Collection was Adidas Yeezy created to celebrate the 20th anniversary of Offspring. The collab consists of revamped versions of the adidas Originals Stan Smith, the adidas Climacool1 and the adidas Originals Superstar. The adidas shoes Stan Smith comes in a waxed canvas upper placed on top of a crepe wedge sole. The look was inspired by the military waxed parka, which was uber-popluar back adidas nmd for sale in the ’90s. The adidas Climacool 1 gets its inspiration from the adidas Track Tops. It used a gum outsole and a nice premium touch is the nubuck lining. adidas nmd R1 Lastly, the Superstar is done in a full leather upper accented by the gunmetal shell toe and embossed Three Stripes branding. The entire Offspring x adidas Originals Britpack Collection Yeezy Boost 350 Pirate Black drops October 28th. What pair are you going after?
    Not only is Damian Lillard an exciting and rising superstar on the basketball court, but he also has some serious Pharell Williams x Adidas NMD Human Race Yellow musical talent.Known as Dame D.O.L.L.A. behind the mic, the point guard from the Portland Trailblazers recently linked up with Grammy award winning artist/producer Raphael Saadiq to record a new Adidas Ultra Boost song for the latest installation of ‘Songs from Scratch’.The collaboration is sparked by the ‘Songs from Scratch’ project created by Yourstru.ly and adidas Originals which brings artists and/or producers adidas nmd together to create songs from scratch. Past collaborations from ‘Songs from Scratch’ have included Chance the Rapper, Joey Bada$$, Jeremih, Kehlani, Ty Dolla $ign, Fetty Wap, Baauer, DJ Quik yeezy boost 350 and more. The collaboration between Raphael Saadiq and Damian Lillard was born out a family connection that reaches back to their mutual hometown of Oakland, CA and the duo NMD Human Race Yellow

    ReplyDelete