Forum Discussion
List Litigation Hold & eDiscovery Hold For a List of Inactive Mailboxes
I have a csv file that contain a list of Inactive Mailboxes approx. 11,000. I have two requirements that I am struggling to meet which I think can only be achieved using Powershell.
- Which Inactive Mailboxes have litigation hold applied
- Which Inactive Mailboxes are on eDiscovery Hold. Output the Case Name and Hold Policy
Any help would be greatly appreciated
Thanks
3 Replies
There are six types of holds that can be applied to an Inactive mailbox. You need to PowerShell to determine the type of hold. See Change the hold duration for an inactive mailbox | Microsoft Learn
Step 1 in this article shows you how to collect/report on this data, the only difference when it comes to inactive mailboxes is that you have to include the corresponding switch. https://learn.microsoft.com/en-us/purview/ediscovery-delete-items-in-the-recoverable-items-folder-of-mailboxes-on-hold?view=o365-worldwide#step-1-collect-information-about-the-mailbox
Another option is to use the Invoke-HoldRemovalAction cmdlet, which can be used to both report on or remove specific holds: https://www.michev.info/blog/post/5792/how-to-use-the-invoke-holdremovalaction-cmdlet-to-remove-legacy-and-orphaned-holds-in-microsoft-365
- Prathista Ilango
Microsoft
Hi chrishorsted720,
This is likely possible only via powershell. You can use the following commands to get the required details,
- Litigation hold details are properties of Get-Mailbox command
- Case hold details can be retrieved using Get-CaseHoldPolicy
Refer to:
Get-CaseHoldPolicy (ExchangePowerShell) | Microsoft Learn
Hope this helps!
Regards,
PI
Please mark as solution, if you find the answer helpful. This will assist others in the community who encounter a similar issue, enabling them to quickly find the solution and benefit from the guidance provided.