{"id":2684,"date":"2018-11-02T22:51:26","date_gmt":"2018-11-02T22:51:26","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=2684"},"modified":"2018-11-02T23:11:44","modified_gmt":"2018-11-02T23:11:44","slug":"understanding-in-place-hold-and-litigation-hold-in-exchange","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=2684","title":{"rendered":"Understanding In-Place Hold and Litigation Hold in Exchange"},"content":{"rendered":"<p class=\"user-content_text text \">Litigation Hold was first introduced in Exchange 2010 and is designed to preserve all items in a mailbox indefinitely for the purposes of e-discovery. Litigation Hold can be applied to mailboxes or distribution groups. When a user\u2019s mailbox is put on Litigation Hold, they are still able to delete items, but Exchange retains the deleted items indefinitely with immutability. For example, if the user changes an item, it will remain preserved in its original form.<\/p>\n<p class=\"user-content_text text \">While initially designed for e-discovery purposes in legal cases, Litigation Hold can also be used for archiving in other scenarios. The ability to define a hold period was added to Exchange Online in the form of the\u00a0<em>LitigationHoldDuration<\/em>parameter, which allows you to set a retention period. This ability was later added to Exchange 2013.<\/p>\n<p class=\"user-content_text text \">To put all mailboxes on Litigation Hold for seven years (2555 days), use the PowerShell code below.<\/p>\n<div id=\"crayon-5bdcd4799f1d8076179064\" class=\"crayon-syntax crayon-theme-1c-zapros crayon-font-monaco crayon-os-pc print-yes notranslate\" data-settings=\" minimize scroll-mouseover\">\n<div class=\"crayon-toolbar\" data-settings=\" show\">\n<div class=\"crayon-tools\">\n<div class=\"crayon-button crayon-nums-button crayon-pressed\" title=\"Toggle Line Numbers\"><\/div>\n<div class=\"crayon-button crayon-wrap-button\" title=\"Toggle Line Wrap\"><\/div>\n<p><span class=\"crayon-language\" style=\"color: #99cc00;\">PowerShell<\/span><\/p>\n<\/div>\n<\/div>\n<div class=\"crayon-plain-wrap\"><span style=\"color: #99cc00;\">\u00a0<\/span><\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-5bdcd4799f1d8076179064-1\"><span style=\"color: #99cc00;\">1<\/span><\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-5bdcd4799f1d8076179064-1\" class=\"crayon-line\"><span style=\"color: #99cc00;\"><span class=\"crayon-r \">Get-Mailbox<\/span> <span class=\"crayon-cn\">-ResultSize<\/span> <span class=\"crayon-e\">Unlimited<\/span> <span class=\"crayon-cn\">-Filter<\/span> <span class=\"crayon-sy\">{<\/span><span class=\"crayon-i\">RecipientTypeDetails<\/span> <span class=\"crayon-cn\">-eq<\/span> <span class=\"crayon-s\">&#8220;UserMailbox&#8221;<\/span><span class=\"crayon-sy\">}<\/span> <span class=\"crayon-o\">|<\/span> <span class=\"crayon-r \">Set<\/span><span class=\"crayon-cn\">-Mailbox<\/span> <span class=\"crayon-cn\">-LitigationHoldEnabled<\/span> <span class=\"crayon-v\">$true<\/span> <span class=\"crayon-cn\">-LitigationHoldDuration<\/span> 2555<\/span><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Litigation Hold and In-Place Hold objects can also be created using the Exchange Admin Center (EAC).<\/p>\n<h2 class=\"user-content_title title -h2 \">In-Place Hold<\/h2>\n<p class=\"user-content_text text \">In-Place Hold was introduced in Exchange 2013 and is also available in Exchange Online. Although similar, In-Place Hold doesn\u2019t replace Litigation Hold and both are valid solutions in different scenarios. There are two ways that In-Place Hold can be applied.<\/p>\n<p class=\"user-content_text text \"><em>Query-based In-Place Hold<\/em>\u00a0does exactly what it says on the tin and allows administrators to preserve items based on queries. Naturally the key advantage of this is cost, enabling organizations with on-premise Exchange to preserve specific items rather than entire mailboxes.<\/p>\n<p class=\"user-content_text text \">The PowerShell code below creates a new In-Place Hold object (<em>InPlaceHold-Finance<\/em>) and applies it to mailboxes in the\u00a0<em>DG-Finance<\/em>\u00a0distribution group. Items are preserved for seven years and a filter is applied using Boolean logic and a proximity operator (NEAR) to search for items that contain the word\u00a0<em>Toy, Toymaker<\/em>, or anything similar, within three words of\u00a0<em>Acme<\/em>, and that have\u00a0<em>Confidential<\/em>\u00a0or\u00a0<em>Privileged<\/em>\u00a0included.<\/p>\n<div id=\"crayon-5bdcd4799f1df843697977\" class=\"crayon-syntax crayon-theme-1c-zapros crayon-font-monaco crayon-os-pc print-yes notranslate\" data-settings=\" minimize scroll-mouseover\">\n<div class=\"crayon-toolbar\" data-settings=\" show\">\n<div class=\"crayon-tools\">\n<div class=\"crayon-button crayon-nums-button crayon-pressed\" title=\"Toggle Line Numbers\"><\/div>\n<div class=\"crayon-button crayon-wrap-button\" title=\"Toggle Line Wrap\"><\/div>\n<div class=\"crayon-button crayon-expand-button\" title=\"Expand Code\"><\/div>\n<div class=\"crayon-button crayon-popup-button\" title=\"Open Code In New Window\"><\/div>\n<p><span class=\"crayon-language\" style=\"color: #99cc00;\">PowerShell<\/span><\/p>\n<\/div>\n<\/div>\n<div class=\"crayon-plain-wrap\"><span style=\"color: #99cc00;\">\u00a0<\/span><\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-5bdcd4799f1df843697977-1\"><span style=\"color: #99cc00;\">1<\/span><\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-5bdcd4799f1df843697977-1\" class=\"crayon-line\"><span style=\"color: #99cc00;\"><span class=\"crayon-r \">New-MailboxSearch<\/span> \u2018<span class=\"crayon-r \">InPlaceHold-Finance<\/span>\u2019 <span class=\"crayon-cn\">-SourceMailboxes<\/span> <span class=\"crayon-r \">DG-Finance<\/span> <span class=\"crayon-cn\">-InPlaceHoldEnabled<\/span> <span class=\"crayon-v\">$true<\/span> <span class=\"crayon-cn\">-ItemHoldPeriod<\/span> 2555 <span class=\"crayon-cn\">-SearchQuery<\/span> \u201c<span class=\"crayon-sy\">(<\/span><span class=\"crayon-e\">Acme <\/span><span class=\"crayon-e\">NEAR<\/span><span class=\"crayon-sy\">(<\/span>3<span class=\"crayon-sy\">)<\/span> <span class=\"crayon-i\">Toy<\/span><span class=\"crayon-o\">*<\/span><span class=\"crayon-sy\">)<\/span> <span class=\"crayon-e\">AND<\/span> <span class=\"crayon-sy\">(<\/span><span class=\"crayon-e\">Confidential <\/span><span class=\"crayon-e\">OR <\/span><span class=\"crayon-i\">Privileged<\/span><span class=\"crayon-sy\">)<\/span>\u201d<\/span><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><em>Time-based In-Place Hold<\/em>\u00a0objects replicate the functionality of Litigation Hold and allow items to either be preserved indefinitely or for a specific period. Omitting the\u00a0<em>-ItemHoldPeriod<\/em>\u00a0parameter sets items to be preserved indefinitely. It\u2019s also possible to add the\u00a0<em>-StartDate<\/em>\u00a0and\u00a0<em>-EndDate<\/em>\u00a0parameters to the\u00a0<em>New-MailboxSearch<\/em>\u00a0cmdlet.<\/p>\n<h2 class=\"user-content_title title -h2 \">Exchange 2016<\/h2>\n<p class=\"user-content_text text \">In-Place Hold supports Public Folders for the first time in Exchange 2016. Additionally,\u00a0<em>In-Place eDiscovery<\/em>, which gives users the ability to perform searches across all items including those placed on hold, can now run queries against all mailboxes simultaneously.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Litigation Hold was first introduced in Exchange 2010 and is designed to preserve all items in a mailbox indefinitely for the purposes of e-discovery. Litigation Hold can be applied to mailboxes or distribution groups. When a user\u2019s mailbox is put on Litigation Hold, they are still able to delete items, but Exchange retains the deleted [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,21,22,58,62,73],"tags":[],"class_list":["post-2684","post","type-post","status-publish","format-standard","hentry","category-ms-exchange","category-exchange-2007","category-exchange-2010","category-exchange-2013","category-microsoft-exchange-server-2016","category-exchange-server-2019"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2684","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2684"}],"version-history":[{"count":2,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2684\/revisions"}],"predecessor-version":[{"id":2691,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2684\/revisions\/2691"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}