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.

Command results
I am wondering what the issue could be here..  if anyone has an idea please let me know.
lpadmin1Asked:
Who is Participating?
 
Manpreet SIngh KhatraConnect With a Mentor Solutions Architect, Project LeadCommented:
Clean-MailboxDatabase "Db name" (please have teh DB name in quotes)

- Rancy
0
 
lpadmin1Author Commented:
Rancy you are the man, sir..  Thank you very much, cant believe I missed that.
0
 
lpadmin1Author Commented:
Thanks for the quick response!
0
 
Alan HardistyCo-OwnerCommented:
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
All Courses

From novice to tech pro — start learning today.