Commands › Exchange Online
Get-SafeLinksAggregateReport
Return general information about Safe Links results for the last 90 days. Yesterday is the most recent date that you can specify.
Quick start script
# Get-SafeLinksAggregateReport — 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-SafeLinksAggregateReport | Format-List
# 3. Export for evidence / drift tracking
Get-SafeLinksAggregateReport | Export-Clixml .\SafeLinksAggregateReport-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-SafeLinksAggregateReport
[-Action <MultiValuedProperty>]
[-AppNameList <MultiValuedProperty>]
[-EndDate <System.DateTime>]
[-StartDate <System.DateTime>]
[-SummarizeBy <String>]
[<CommonParameters>]
Parameters (5)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.