User Profile
ManuelB
Copper Contributor
Joined 7 years ago
User Widgets
Recent Discussions
script to delete specific versions of files under a specic location folder (and all subfolders)
I'm searching for a solution to point out to our SysAdmins for a script that does the following in bulk for a specific folder, all sub folders and all files within that folder in a Sharepoint location: 1 - Evaluate version date/hour of all files listed; 2 - Delete all duplicate versions with the same timestamp (a copy batch on a desktop synced hundreds of version copies with the exact same date/hour size for thousands of files and populated hundreds of equal versions per file of some file types for MS apps); 3 - While keeping always the 1st version and the later version of each day until a specific predefined date for each run, delete all version in between. Is this possible to implement in a script and run regularly to a different threshold date each time? Thanks in advance for any help.108Views0likes0Comments
Groups
Recent Blog Articles
No content to show