jaysiercks
asked on
Clean-MailboxDatabase Command Error - Exchange 2007
I deleted/disabled a users mailbox that is no longer with the company. So I run the Clean-Mailboxdatabase command and I get an error because the data base's name is Company Users with a space in the middle. Clearly the command doesnt like spaces. So I tried Clean-MailboxDatabase Company-Users and clearly that didnt work. So how do I clean a database with a space in the database name?
ASKER
No I just use Clean-MailboxDatabase Company Users. I have tried Clean-Mailbox Company_Mgmt and it worked fine. But I think the space in between Company Users is throwing it off.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Type clean-mailboxdatabase comp and press tab button to see the options available..
(Presently im not having server to test it)
(Presently im not having server to test it)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
clean-MailboxDatabase -Identity <DatabaseIdParameter> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-WhatIf [<SwitchParameter>]]
For detailed descrition check this