sharepointyankee.com
Delete All Versions of a SharePoint File Using PowerShell
There may be instances where you need to remove all previous versions of a file. Well, this is the PowerShell script to do it. This will only work for SharePoint on-premises however. param( [string…