New-PnPLibraryFileVersionExpirationReportJob
SYNOPSIS
Starts generating file version usage report for a document library.
SYNTAX
New-PnPLibraryFileVersionExpirationReportJob -Identity <ListPipeBind> -ReportUrl <string>
DESCRIPTION
Starts generating file version usage report for a document library.
EXAMPLES
EXAMPLE 1
New-PnPLibraryFileVersionExpirationReportJob -Identity "Documents" -ReportUrl "https://contoso.sharepoint.com/sites/reports/MyReports/VersionReport.csv"
Starts generating file version usage report for a document library, saving the result to a csv file within the site collection.
PARAMETERS
-Identity
The ID, name or Url (Lists/MyList) of the document library to gather a file version usage report on.
Type: ListPipeBind
Parameter Sets: (All)
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-ReportUrl
The URL of the report to save to.
Type: string
Parameter Sets: (All)
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False