Automatically delete garbage files using Powershell

This little experiment started after realizing that I am a digital hoarder. I used to have files in my downloads folders that were so old they had Clippit all over them in their youth 🤦‍♂️

This obviously needs an over engineered solution, hence presenting:

Le code and that Windows task (exported from Task Scheduler as XML) are available on GitHub at:

https://github.com/Eduard-Uta/Experiments/tree/main/Delete%20garbage%20files

/!\ Please use this with care as it implies permanent deletion of files and/or folders from the specified location(s)!

Leave a Comment