Commands › Exchange Online
Export-ContentExplorerData
For more information, see Security & Compliance PowerShell. Use the Export-ContentExplorerData cmdlet to export data classification file details in Microsoft Purview compliance.
Quick start script
# Export-ContentExplorerData — 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
Export-ContentExplorerData -TagType <String> -TagName <String> | Format-List
# 3. Export for evidence / drift tracking
Export-ContentExplorerData | Export-Clixml .\ContentExplorerData-$(Get-Date -Format yyyyMMdd).xml
Syntax
Export-ContentExplorerData [-TagName] <String> [-TagType] <String>
[-Aggregate]
[[-ConfidenceLevel] <String>]
[[-PageCookie] <String>]
[[-PageSize] <Int32>]
[[-SiteUrl] <String>]
[[-UserPrincipalName] <String>]
[[-Workload] <String>]
[<CommonParameters>]
Parameters (9)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.