Muokkaa

Jaa


New-SPOSiteFileVersionExpirationReportJob

Generates a version storage usage report for a site collection. This report can be used to understand current version storage footprint of the site.

Syntax

New-SPOSiteFileVersionExpirationReportJob
   [-Identity] <SpoSitePipeBind>
   [-ReportUrl <String>]
   [<CommonParameters>]

Description

Generates a version storage usage report for a site collection. This report can be used to understand current version storage footprint of the site.

Examples

EXAMPLE 1

New-SPOSiteFileVersionExpirationReportJob -Identity https://contoso.sharepoint.com/sites/site1 -ReportUrl "https://contoso.sharepoint.com/sites/sites1/reports/MyReports/VersionReport.csv"

Example 1 starts generating file version expiration report on for the site collection, saving the result to a csv file within the 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 save to.

Type:string
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False