Get-SPOSiteFileVersionExpirationReportJobProgress
Note
This feature is part of the version history controls preview. If your tenant is not part of the preview or the feature has not rolled out to your tenant, you will get an error when trying to run this cmdlet.
Gets the status for a file version expiration report generation job for a site collection.
Syntax
Get-SPOSiteFileVersionExpirationReportJobProgress
[-Identity] <SpoSitePipeBind>
[-ReportUrl <String>]
[<CommonParameters>]
Description
Gets the status for a file version expiration report generation job for a site collection.
Examples
EXAMPLE 1
Get-SPOSiteFileVersionExpirationReportJobProgress -Identity https://contoso.sharepoint.com/sites/site1 -ReportUrl "https://contoso.sharepoint.com/sites/sites1/reports/MyReports/VersionReport.csv"
Example 1 gets the status for a file version expiration report generation job for a site collection.
Parameters
-Identity
Specifies the URL of the site collection.
Type: | SpoSitePipeBind |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ReportUrl
The URL of the report to get the job status on.
Type: | string |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |