This template generates a number of statistics on specified folder for both stats and alerting. Simply apply to a node and enter the folder path in 'script arguments' field to get:
Folder Last Modified Time Stamp
Sub Folder Count
File with oldest edit date
File with latest edit date
*Updated to fix a bug which may have caused error result when no files found.
**Removed recursivness by default - if you need to search subfolders unrem '-recurse' on the GCI lines by removing the '#'.