Forum Discussion
maximum days of litigation hold setting
- Aug 13, 2017
There is no limit, as denoted by this paragraph:
Litigation hold duration (days) Use this box to specify how long mailbox items are held when the mailbox is placed on Litigation Hold. The duration is calculated from the date a mailbox item is received or created. If you leave this box blank, items are held indefinitely or until the hold is removed. Use days to specify the duration.
On this page: https://technet.microsoft.com/library/dn743673(v=exchg.150).aspx
There is no limit, as denoted by this paragraph:
Litigation hold duration (days) Use this box to specify how long mailbox items are held when the mailbox is placed on Litigation Hold. The duration is calculated from the date a mailbox item is received or created. If you leave this box blank, items are held indefinitely or until the hold is removed. Use days to specify the duration.
On this page: https://technet.microsoft.com/library/dn743673(v=exchg.150).aspx
original script
Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq "UserMailbox"} | Set-Mailbox -LitigationHoldEnabled $true -LitigationHoldDuration 365revised script
Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq "UserMailbox"} | Set-Mailbox -LitigationHoldEnabled $true Does removing -LitigationHoldDuration 365 makes it unlimited?
Thanks
- TonyRedmondAug 15, 2017MVP
Just for fun, the LitigationHoldDuration parameter seems to be pretty optimistic. I was able to set a hold duration of 777,000 days, which works out at over 2,127 years. By that time, I think the value of the hold might have eroded...
- Aljohn BonifacioAug 13, 2017Steel Contributor
Hi Marvin, yes the revised script or having no defined time range will keep / protect all mail items to an unlimited amount of time and as also mentioned by Loryan based on Litigation hold duration on the number of days.