Forum Discussion

michael1900's avatar
michael1900
Copper Contributor
Jun 05, 2024

Clean up all the version history

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.

  • coxygt's avatar
    coxygt
    Brass Contributor

    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.

Resources