Our company SharePoint site got into a loop of a script which duplicated all the files in the libraries from our list. Now we are stuck with 50+ versions of each files and depleted our 1TB in Sharepoint Online. We need to delete all the versions that the sharepoint admin account created.
Update: We are on SharePoint Online. We have two big lists. One with all the name of the compagnies with a link that filters all the mandates from the company. The second list, is all our mandates name with a column with a link that goes towards the mandate library. All of our library starts with "Mandat...".
I would like to scan all those libraries, find the documents inside and then delete the last 10 versions of that author called SharePoint Admin.