Find all files in SharePoint that are over 1 year old

Brass Contributor

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
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.

I'd go with search refined by LastModifiedTime as per Find Old Content on Your OneDrive or SharePoint Site