Delete Exchange server 2010

Hi,

I had a exchange mail server 2010 running in my domain.
I recently moved to cloud service Office 365.

So my mail (servers) is configured by microsoft. But now i want to deleted the exchange server out of my Active Directory. (Windows server 2008 R2).

How can i do this?
thanks.
jonas-pAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
AkhaterConnect With a Mentor Commented:
you need to run

get-mailbox | disable-mailbox -confirm:$false


get-mailbox  -arbitration | disable-mailbox -confirm:$false -Arbitration -DisableLastArbitrationMailboxAllowed:$true
0
 
Neil RussellTechnical Development LeadCommented:
On the exchange server Add/Remove programs Exchange 2010
0
 
jonas-pAuthor Commented:

I can't get the exchange server fully removed. Having trouble to remove mailbox role.
Get following message:

--------------------------------------------------------
Microsoft Exchange Error
--------------------------------------------------------
The mailbox database 'Mailbox Database 1364746402' cannot be deleted.

Mailbox Database 1364746402
Failed
Error:
This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -Archive. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>.

How can i remove it on a easy way?
Thanks.
0
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.

All Courses

From novice to tech pro — start learning today.