Link to home
Create AccountLog in
Avatar of Gad SAADIA
Gad SAADIAFlag for France

asked on

uninstall Exchange 2010

Hello,

I need to uninstall Exchange 2010 (I can erase all data) so I can Install it again with a clean install
When I want to uninstall the SERVER MAILBOX ROLE it tell me that I cannot unistall since Database contain mailboxes. I want to erase everything. Any easy way to do it ?

Thank you
Avatar of Glen Knight
Glen Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

This will be because of the arbitration mailboxes.

From the Exchange Management Shell run the following to get the names of the mailboxes:

Get-Mailbox -Database DATABASE_NAME - arbitration

Replace DATABASE_NAME  with the name of your database.

Then run:

Remove-Mailbox MAILBOX_NAME -Arbitration -RemoveLastArbitrationMailboxAllowed
ya i have had the same issue

just want to add to the previous comment , just make sure u have all the required roles to do the same.

as when i was doing Remove-Mailbox MAILBOX_NAME -Arbitration -RemoveLastArbitrationMailboxAllowed was not working as i did not have the appropriate role
Avatar of Gad SAADIA

ASKER

I cannot execute these commands, I may not have the roles or the permission
Get-Mailbox -Database does not work
any solution ?
Thank you




 
Are you adding the name of the database?

yes
get-mailbox -database "Mailbox Database 1722727489" -arbitration

and the command do not work
I tried everything, very strange
Could it be a right problems?

If I format the server should I be able to reinstall Exchange 2010 ?
What do you by the command doesn't work ? What is the error?


Try

Get-mailbox -arbitration | Remove-Mailbox -Arbitration -RemoveLastArbitrationMailboxAllowed
Here the error

Get-mailbox -Arbitration
the object "-arbitration" cannot be found in 'SERVER1.DOMAIN.LOCAL'
(the issue is that SERVER1 is the AD/DC server, Exchange2010 sever is called EXCHANGE1 (member server), is it normal ?

Remove-Mailbox -Arbitration
"remove-mailbox" not a known command applet, function or executable program. Check syntax or path....

 
ASKER CERTIFIED SOLUTION
Avatar of Akhater
Akhater
Flag of Lebanon image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Problem is solved
It was indeed a permission issue
Thank you very very much