Commands › Exchange Online
Get-CaseHoldPolicy
For more information, see Security & Compliance PowerShell. Use the Get-CaseHoldPolicy to view existing case hold policies in the Microsoft Purview compliance portal. To get relevant information about how the hold was applied and the affected locations, you need to include the DistributionDetail switch.
Quick start script
# Get-CaseHoldPolicy — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Run and inspect
Get-CaseHoldPolicy | Format-List
# 3. Export for evidence / drift tracking
Get-CaseHoldPolicy | Export-Clixml .\CaseHoldPolicy-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-CaseHoldPolicy [[-Identity] <PolicyIdParameter>]
[-Case <String>]
[-DistributionDetail]
[-IncludeBindings]
[-IncludeBindingsOnly]
[<CommonParameters>]
Parameters (5)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.