Skip to content

Latest commit

 

History

History
124 lines (88 loc) · 2.99 KB

File metadata and controls

124 lines (88 loc) · 2.99 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/new-spositefileversionexpirationreportjob
applicable SharePoint Online
title New-SPOSiteFileVersionExpirationReportJob
schema 2.0.0
author msjennywu
ms.author jennywu
ms.reviewer
manager seanmc

New-SPOSiteFileVersionExpirationReportJob

SYNOPSIS

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> [-WhatIf]
 [-Confirm] [<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

Applicable: SharePoint Online

Specifies the URL of the site collection.

Type: Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind
Parameter Sets: (All)
Aliases:

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: System.String
Parameter Sets: (All)
Aliases:

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
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.

INPUTS

Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind

OUTPUTS

System.Object

NOTES

RELATED LINKS

Get-SPOSiteFileVersionExpirationReportJobProgress