Link to home
Start Free TrialLog in
Avatar of lpadmin1
lpadmin1

asked on

Clean-MailboxDatabase command not working - Exchange 2007

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.

User generated image
I am wondering what the issue could be here..  if anyone has an idea please let me know.
ASKER CERTIFIED SOLUTION
Avatar of Manpreet SIngh Khatra
Manpreet SIngh Khatra
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lpadmin1
lpadmin1

ASKER

Rancy you are the man, sir..  Thank you very much, cant believe I missed that.
Thanks for the quick response!
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!!