Skip to content

Latest commit

 

History

History
82 lines (58 loc) · 2.41 KB

New-SPOSiteFileVersionExpirationReportJob.md

File metadata and controls

82 lines (58 loc) · 2.41 KB
external help file Module Name online version applicable title schema author ms.author ms.reviewer manager
sharepointonline.xml
Microsoft.Online.SharePoint.PowerShell
SharePoint Online
New-SPOSiteFileVersionExpirationReportJob
2.0.0
msjennywu
jennywu
seanmc

New-SPOSiteFileVersionExpirationReportJob

SYNOPSIS

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.

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
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online
Required: True
Position: 1
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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

RELATED LINKS

Get-SPOSiteFileVersionExpirationReportJobProgress