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).