SPSCleanVersions
3.4.0
Optimize your storage costs by managing major and minor versions across libraries and lists.
Compatible with Local execution and Azure Automation Runbooks.
Configuration is provided either as an inline JSON string (-InputJson, ideal for
Azure Automation Runbooks) or as a local JSON file (-ConfigFile, id
Optimize your storage costs by managing major and minor versions across libraries and lists.
Compatible with Local execution and Azure Automation Runbooks.
Configuration is provided either as an inline JSON string (-InputJson, ideal for
Azure Automation Runbooks) or as a local JSON file (-ConfigFile, ideal for local
execution and testing). Both sources share the same schema, parsing and validation.
Installation Options
Owners
Package Details
Author(s)
- luigilink (Jean-Cyril DROUHIN)
Tags
script powershell sharepoint version history cleanup
Functions
Write-SpsLine Write-SpsRule Test-IsAzureAutomation Get-RetryAfterDelay Test-IsAuthError Test-IsAccessDeniedError Test-IsNotFoundError Test-IsBatchDeleteInProgressError Get-NormalizedSiteUrls Invoke-RetryCommand Add-RunResult ConvertTo-SPSHtmlEncoded Export-SPSCleanVersionsReport Clear-OldRunFiles Test-SiteVersionPolicyDrift Get-Prop Set-SiteVersionPolicy Resolve-EffectiveApplyTo Get-TenantSiteUrls Get-OperatorUpnFromConnection Test-IsSharePointAdmin Test-OperatorIsSiteAdmin Test-UpnInAdminList Save-AdminGrantRecord Get-AdminGrantRecords Add-OperatorSiteAdmin Remove-OperatorSiteAdmin
PSEditions
Dependencies
-
- PnP.PowerShell (>= 2.12.0)
FileList
- SPSCleanVersions.nuspec
- SPSCleanVersions.ps1