How to remove a mailbox permanently

Share this:

By default when a mailbox is either disabled or removed it will show up as disconnected and it will stay there for the time defined in the Mailbox Database properties. However, using Exchange Management Shell the administrator is able to remove permanently a mailbox and that is the topic of this Tutorial.

Solution


However in some cases we want to remove the mailbox for good and remove the option to reconnect it to another mailbox afterwards.

The first step is to find out the Database name of our test user (user171) using the following cmdlet.

Get-Mailbox user171 | select name,ServerName,Database

image5

Before testing the process of the removal of this Tutorial, let’s check the status of all mailboxes of that Mailbox Database.

Get-MailboxStastistics –Database DB05

image8

Removing permanently…

In order to remove a mailbox permanently we must use Exchange Management Shell, using the –Permanent $True switch and the example and the process to remove it is shown in the message below.

Remove-Mailbox user171 –Permanent $True

image11

Just in case I went to the Exchange Admin Center and removed the user172 using the traditional method. If we run the following cmdlet the results will show that the user172 shows as disconnected and user171 is not there which means that our permanently removal was successful.

image14

Conclusion


In this Tutorial we went over the process to remove a mailbox permanently using Exchange Management Shell. This Tutorial was created in an Exchange Server 2013 SP1 environment.

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).

Related Post

Troubleshooting Event ID 15021 in Exchange Server ... In this Tutorial we are going to analyze the Event ID 15021 on Exchange Server 2013 which may be caused by a certificate issue. If you are experiencin...
Managing DAG: Creating a new DAG using EAC At this point of the series we created a DAG witness server, pre-staged the Active Directory that will be used by the DAG in this Tutorial and last bu...
How to upgrade your existent Exchange Server 2013 ... In this Tutorial we are going to upgrade our current Exchange Server 2013 CU2 to CU3. Our environment for this Tutorial has 2 DAG members (BsAEX01 and...
How to create a DAG in Exchange Server 2013 SP1 wi... In this Tutorial we are going to use a new feature introduced in Exchange Server 2013 SP1 which is the capability to create a DAG object without an AA...