Video length is 15:51

Deleting Past Versions of All the Files in a SharePoint Folder

In my last post, I developed a script to delete the past versions of a SharePoint® file using REST API. Now, I want to delete past versions of all the files in a folder. I think I’ll start by turning my script into a function, then calling it for each file that I find in the folder.

 

(Originally posted in Stuart’s Videos blog)

Recorded: 11 Apr 2023

Related Products