Improve company productivity with a Business Account.Sign Up

x
?
Solved

Clean-MailboxDatabase command not working - Exchange 2007

Posted on 2012-12-28
4
Medium Priority
?
1,442 Views
Last Modified: 2012-12-28
I have disabled a mailbox today and I would like to reconnect it.  However, this mailbox is not showing up in disconnected mailboxes.  There is only one mailbox showing up in disconnected mailboxes no matter how many are disabled.  I read that this clean-mailboxdatabase command will resolve that.  When trying to run it I am getting the error in the picture below.

Command results
I am wondering what the issue could be here..  if anyone has an idea please let me know.
0
Comment
Question by:lpadmin1
  • 2
4 Comments
 
LVL 52

Accepted Solution

by:
Manpreet SIngh Khatra earned 2000 total points
ID: 38727097
Clean-MailboxDatabase "Db name" (please have teh DB name in quotes)

- Rancy
0
 

Author Comment

by:lpadmin1
ID: 38727123
Rancy you are the man, sir..  Thank you very much, cant believe I missed that.
0
 

Author Closing Comment

by:lpadmin1
ID: 38727126
Thanks for the quick response!
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 38727321
If you also just type:

Get-mailboxdatabase | clean-mailboxdatabase

You don't have to specify a database name and you would not have had to worry about the quote marks!!
1

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

Let us take a look at the scenario, you have a database that is corrupt and you run the ESEUTIL command only to find you are unable to repair it. How do you now get the data back?
In a Cross Forest, the steps to migrate users are quite complicated and even in the official articles of Technet there is no clear recommendation on which approach to take .. From an experience, I mention and simplify which way to go and how to use …
how to add IIS SMTP to handle application/Scanner relays into office 365.
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…

606 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question