Closed nbrattoli closed 7 months ago
Hi @nbrattoli - thank you for this triple set of scripts, very cool - these will be live shortly 🎉😁
Appreciate the approval! I have a lot more where this came from. Hopefully I can get them in the right format and uploaded in the next couple days :)
I added a folder called "spo-time-based file reports" that contains 3 related scripts:
1.OneDrive Scan
These scripts all use PnP to get items older than the date filter currently set at 4 years since last modified. Script one will get every file in a given OneDrive, 2 gets every file in every library and places the reports at the root of each library, and 3 allows you to customize what gets scanned and where the report goes.
This is one of many scripts I hope to upload that I use on a regular basis as an M365 consultant.