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

451 4.7.0 Temporary server error. Please try again... In some small scenarios the administrator install an Exchange Server with two network adapters where one of them is facing the internet and the incomi...
How to prepare Windows Server 2012 R2 to support E... Exchange Server 2013 Service Pack 1 is finally here and now we can start taking advantage of Windows Server 2012 R2 for either Operating System on Exc...
How to upgrade to Exchange Server 2013 Service Pac... Let’s go over the process to upgrade your existent Exchange Server 2013 version to the latest Service Pack 1 using command-line. Before starting I wo...
How to prepare Active Directory separately in Exch... In this Tutorial we are going over the process to prepare Active Directory which is a required step when deploying the first Exchange Server 2013 Serv...