Hello,
I have been trying for days to find a resolution for this, but unfortunately there isn't anything out there, or what you can find is outdated.
I did find a TechNet article but it's really old https://social.technet.microsoft.com/Forums/en-US/03f59134-5ba9-4a45-a69a-a3a9de52d180/remove-all-document-versions-in-a-content-database-in-sharepoint-2010?forum=sharepointadminprevious
What I'm trying to do is delete all previous versions from all documents in the OneDrive for Business "Files" as versioning was enabled and now every file has about 50 versions and they just take too much space. I haven't been able to find anything but doing it manually and it will take forever as I have about 5000 documents (each of them with multiple versions).
Powershell will do wonders or if not, maybe you can suggest a 3rd party tool that can do that?
Thank you,
Joey