Clean up all the version history

Copper Contributor

I would like to clean up the version history of all files within all Sharepoint sites in the entire tenant .

Is there a PowerShell Script for this ?

 

Thanks a lot.

1 Reply

Think you will need to update settings to reduce the number of versions you want to allow, believe (not 100%) you can do this either tenant wide or Document Library by Doc Library, but not using PowerShell.