Commands › SharePoint Online

Get-SPOSiteFileVersionExpirationReportJobProgress

SharePoint Online Microsoft.Online.SharePoint.PowerShell Get-*

Gets the status for a file version expiration report generation job for a site collection.

Quick start script

# Get-SPOSiteFileVersionExpirationReportJobProgress — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Run and inspect
Get-SPOSiteFileVersionExpirationReportJobProgress -Identity <SpoSitePipeBind> -ReportUrl <String> | Format-List

# 3. Export for evidence / drift tracking
Get-SPOSiteFileVersionExpirationReportJobProgress | Export-Clixml .\SPOSiteFileVersionExpirationReportJobProgress-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-SPOSiteFileVersionExpirationReportJobProgress [-Identity] <SpoSitePipeBind> -ReportUrl <String>
 [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Identity SpoSitePipeBind yes Specifies the URL of the site collection.
-ReportUrl String yes The URL of the report to get the job status on.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.