Use Svendsen Tech's Remove-OldFiles function to delete files based on date logic with time granularity ranging from milliseconds to months, and an optional file name regex filter.
To easily check what was done and not done, what failed, etc. Combine with issue #3 where we want errors reported to be included. Or at least account for a property or properties for this scenario when designing/implementing.