New-SPOListFileVersionExpirationReportJob
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.
Starts generating file version expiration report for a document library.
Syntax
New-SPOListFileVersionExpirationReportJob
[-Site] <SpoSitePipeBind>
[-List] <SpoListPipeBind>
[-ReportUrl <String>]
[<CommonParameters>]
Description
Starts generating file version expiration report for a document library.
Examples
EXAMPLE 1
New-SPOListFileVersionExpirationReportJob -Site https://contoso.sharepoint.com/sites/site1 -List "Documents" -ReportUrl "https://contoso.sharepoint.com/sites/sites1/reports/MyReports/VersionReport.csv"
Example 1 starts generating file version expiration report on for the document library called "Documents", saving the result to a csv file within the site.
Parameters
-List
The document library name or Id.
Type: | SPOListPipeBind |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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 |
-Site
Specifies the URL of the site.
Type: | SpoSitePipeBind |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
Related Links
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應