IT tutorials
 
Technology
 

Microsoft Exchange Server 2013 : Mailbox management - Removing or disabling mailboxes

6/20/2014 3:59:17 AM
- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

Mailboxes don’t last forever, and eventually you will want to remove some from Exchange, usually after users leave the company. You might want to keep a mailbox for some time after a user leaves so that its contents are not immediately lost and remain accessible to other users or even for legal purposes. EAC provides two options for mailbox removal: you can either disable or remove a mailbox. The words seem similar, but there’s a huge difference in what happens behind the scenes.

When you disable a mailbox, Exchange removes all the properties from the underlying Windows user account in Active Directory that associates the user with the mailbox. The contents of the mailbox are purged from its database after the deleted mailbox retention period expires. When Exchange purges a deleted mailbox from a database, the only way you can retrieve the mailbox afterward is to retrieve it from a backup.

The equivalent EMS command to disable a mailbox is:

Disable-Mailbox –Identity 'Redmond, Tony'

When you remove a mailbox, in addition to marking the mailbox for purging after its retention period expires, you also remove the Windows user account from Active Directory. The EMS command EAC uses is:

Remove-Mailbox –Identity 'Redmond, Tony'

As with disabled mailboxes, Exchange retains the content of removed mailboxes in their original databases until their retention period expires. If you want, you can force Exchange to remove the Active Directory user account and mailbox contents immediately by running the Remove-StoreMailbox cmdlet. For example:

Remove-StoreMailbox –Identity 'Redmond, Tony'

Before disabling or removing a mailbox, EAC warns about the consequences of taking the action. Although the result seems dire, unless you opt to remove a mailbox permanently, you can always reconnect a mailbox to an Active Directory account as long as the mailbox is available in the database. If the mailbox has a personal archive, you are told about this in the warning message.

Another factor to consider is how to deal with mailboxes that have been placed on an in-place hold (or the older litigation hold feature). In these instances, a reason exists for the mailbox contents to be retained, and if you delete the mailbox, you might create a problem for the person or persons who requested the mailbox to be put on hold. Therefore, if a request comes in to remove a mailbox that is on hold, you should always check with your legal department, or whatever competent authority exists to authorize ignoring that a hold is in place, before you process the removal. EAC won’t allow you to remove or disable a mailbox if a hold is in place.

An in-place hold might be in effect for multiple mailboxes, including the one you want to process, so you probably don’t want to remove the hold from all the targeted mailboxes. In this case, you can disable or remove the mailbox without affecting the other mailboxes with EMS as follows:

To disable the mailbox:

Disable-Mailbox –Identity 'Cao, Jun' –IgnoreLegalHold

To remove the mailbox permanently:

Remove-StoreMailbox –Identity 'Cao, Jun'

In both events, EMS prompts you to confirm the action before it proceeds.

Inside Out Remove-Mailbox and Remove-StoreMailbox cmdlets

The Remove-Mailbox and Remove-StoreMailbox cmdlets can both be used to remove a mailbox from a database permanently. The difference is as follows:

  • Use Remove-Mailbox to remove the Active Directory account for the user and mark the mailbox for deletion after its retention period expires.

  • Use Remove-StoreMailbox when you want to remove the mailbox from its database immediately. In effect, this new cmdlet replaces the Remove-Mailbox cmdlet when it is used with the Permanent and StoreMailboxIdentity parameters.

Why have two cmdlets to remove a mailbox permanently? The answer is that it forces administrators to make a distinct choice to remove a mailbox permanently. With Remove-Mailbox, it’s easy for an administrator to overlook using the Permanent parameter and thus have mailboxes lingering in the database until their retention period expires. The use of Remove-StoreMailbox should be very easy to understand. It also makes the task of auditing easier because if the need arises, an auditor can just search for all uses of Remove-StoreMailbox rather than going through each instance of Remove-Mailbox to determine whether the Permanent parameter was used. 

 
Others
 
- Microsoft Exchange Server 2013 : Mailbox management - Setting mailbox quotas
- Microsoft Exchange Server 2013 : Mailbox management - Mailbox resources provisioning management agent
- Windows 8 : Configuring Internet Explorer 10 (part 4) - Managing Internet Explorer settings by using Group Policy
- Windows 8 : Configuring Internet Explorer 10 (part 3) - Controlling Internet Explorer Start screen tile behavior, Configuring Internet Explorer 10
- Windows 8 : Configuring Internet Explorer 10 (part 2) - Configuring the startup Internet Explorer
- Windows 8 : Configuring Internet Explorer 10 (part 1) - Managing two Internet Explorer experiences
- Windows Server 2012 : Administering Active Directory objects using ADAC (part 4) - Common administration tasks - Creating users
- Windows Server 2012 : Administering Active Directory objects using ADAC (part 3) - Common administration tasks - Creating organizational units
- Windows Server 2012 : Administering Active Directory objects using ADAC (part 2) - Searching Active Directory
- Windows Server 2012 : Administering Active Directory objects using ADAC (part 1) - Overview of ADAC
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us