How do you find and remove an orphaned mailbox in Exchange 2010

CoNB Technology
CoNB Technology used Ask the Experts™
on
Is there a simple way to locate a mailbox in Exchange 2010 where the user account was deleted in Active Directory and delete it?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Adam BrownSenior Systems Admin
Top Expert 2010

Commented:
Exchange 2010 automatically deletes mailboxes when users are removed from AD. Are you seeing some evidence that this isn't occurring?

Author

Commented:
One of our admins stated that if the Active Directory account was deleted from an XP workstation using the AD Users and Computers console, that it would orphan the mailbox.  We have 3-4 that were deleted that way and our Exchange 2010 implementation is extremely new.  Not everyone is a PowerShell user yet.  So maybe I should start with the first part of the question.  Is there an easy way to find an orphaned mailbox?
Senior Systems Admin
Top Expert 2010
Commented:
Honestly, I don't think the statement by your admin is accurate. However, if you want to find the mailbox, the powershell command is get-mailbox <username>
If that doesn't get it, the mailbox doesn't exist. remove-mailbox <username> will delete it.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial