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

Solving Test-CSEXStorageConnectivity cmdlet error ... When integrating Exchange Server 2013 and Skype for Business Server you may encounter the error 50043, and the complete description of the error is: “...
Fixing the issue: Cannot find E-discovery arbitrat... In Today’s post we are going over an error where the Exchange Server 2013 installation returns these following error messages: Cannot find E-discove...
Managing Send as and Send on Behalf to in Distribu... In this Tutorial we will go over the configuration required to configure both Send as and Send on Behalf of in Distribution Groups in Exchange Server ...
How to remove the last Exchange Server 2013 from t... In a few situations you may want to remove the last Exchange Server 2013 and the setup process will give you a hard time for the Arbitration Mailboxes...