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
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
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...