SPSCleanVersions

3.1.4

A script tool to clean Version History in your SharePoint Tenant.
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
A script tool to clean Version History in your SharePoint Tenant.
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.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name SPSCleanVersions

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

FileList

Version History

Version Downloads Last updated
3.1.4 (current version) 5 7/15/2026