Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Overview of this book

Table of Contents (22 chapters)
Microsoft Exchange 2010 PowerShell Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Placing mailboxes on litigation hold


When an organization is dealing with the possibility of legal action, data such as documents and e-mail messages related to the case usually need to be reviewed, and an effort to preserve this information must be made. Exchange 2010 allows you to protect and maintain this data by placing mailboxes on litigation hold. This prevents users or retention policies from modifying or removing any messages that may be required during the legal discovery process. In this recipe, you'll learn how to manage litigation hold settings for mailboxes from the Exchange Management Shell.

How to do it...

  1. To place a mailbox on litigation hold, use the Set-Mailbox cmdlet :

    Set-Mailbox -Identity dsmith -LitigationHoldEnabled $true
  2. To remove the retention hold setting from the mailbox, use the same command, but set the -LitigationHold parameter to $false:

    Set-Mailbox -Identity dsmith -LitigationHoldEnabled $false

How it works...

At first glance, it may seem that litigation hold and...