Forum Discussion
Pn1995
Dec 05, 2019Brass Contributor
Find all files in SharePoint that are over 1 year old
Hi
We have a single document library that has a lot of flles / folders in and we would like to run a script that shows us how many of these files haven't been modified for a year or so.
Anyone know how to do this?
Thanks
2 Replies
- Vlad_OptmCopper Contributor
I'd go with search refined by LastModifiedTime as per https://vladilen.com/office-365/how-to-find-old-content-on-your-onedrive-or-sharepoint-site/
- The easiest way would be to export your document library to excel. Then just apply an age filter to the modified column and you'll have a count of records (files) that are older than a year.