Forum Discussion
Office 365 in-place hold [exchange online]
- Jun 13, 2017
On the same page, you can verify if the In-Place Hold is working by doing the following below:
To verify that you have successfully created the In-Place Hold, do one of the following:
• Use the EAC to verify that the In-Place Hold is listed in the list view of the In-Place eDiscovery & Hold page.
• Use the Get-MailboxSearch cmdlet to retrieve the mailbox search and check the hold properties. For example, the following command displays the hold properties for the search named Hold-CaseId012:
• Get-MailboxSearch "Hold-CaseId012" | Format-List InPlaceHoldEnabled,ItemHoldPeriod,InPlaceHoldIdentity
• Use the Get-Mailbox cmdlet to display In-Place Hold information for specific user mailboxes or public folder mailboxes. For example, the following command displays the GUID for the In-Place Hold:
• Get-Mailbox "joe@contoso.com" | Format-List InPlaceHolds
This example will display the In-Place Hold GUID for all public folder mailboxes in the organization.
Get-Mailbox -PublicFolder | Format-List Name,InPlaceHolds
On the same page, you can verify if the In-Place Hold is working by doing the following below:
To verify that you have successfully created the In-Place Hold, do one of the following:
• Use the EAC to verify that the In-Place Hold is listed in the list view of the In-Place eDiscovery & Hold page.
• Use the Get-MailboxSearch cmdlet to retrieve the mailbox search and check the hold properties. For example, the following command displays the hold properties for the search named Hold-CaseId012:
• Get-MailboxSearch "Hold-CaseId012" | Format-List InPlaceHoldEnabled,ItemHoldPeriod,InPlaceHoldIdentity
• Use the Get-Mailbox cmdlet to display In-Place Hold information for specific user mailboxes or public folder mailboxes. For example, the following command displays the GUID for the In-Place Hold:
• Get-Mailbox "joe@contoso.com" | Format-List InPlaceHolds
This example will display the In-Place Hold GUID for all public folder mailboxes in the organization.
Get-Mailbox -PublicFolder | Format-List Name,InPlaceHolds
- N VJun 18, 2017Copper ContributorThanks :)
- VasilMichevJun 13, 2017MVP
And since the content is kept in-place (in the mailbox), you can also use cmdlets such as Get-MailboxFolderStatistics to check the size of the RecoverableItems subtree and the number of items kept there. Or even extract some of the data via Search-Mailbox or eDiscovery search and verify that a message you deleted 2 months ago is still kept.