When users go on vacation or are out of the office for an extended period of time, you may need to suspend the processing of the retention policy applied to their mailboxes. This recipe will show you how to use the Exchange Management Shell to place mailboxes on retention hold, as well as how to remove the retention hold and discover which mailboxes are currently configured for retention hold.
Placing mailboxes on retention hold
How to do it...
Let's see how to place a mailbox on retention hold by performing the following steps:
- To place a mailbox on retention hold, use the Set-Mailbox cmdlet:
Set-Mailbox dsmith -RetentionHoldEnabled $True
- To remove the retention hold setting from the mailbox, use the same command...