This is a simple script which can be used for housekeeping growing list of files like IIS Logs, Temporary Files and so on. No special Snap-Ins or Modules required to be imported.
The script is hosted in this GitHub repository
- Version 1.0
- Initial Release
- DeleteFilesOlderThanXDays.ps1 - The main script
- DirList.txt - List of folders to perform deletion against. This can be local, shared or UNC paths.