Release 2.0 allows for the copying of files that will be deleted to be copied to a central file repository. The script will create a folder per server, and the entire log file folder structure will be preserved.
The next release will contain an option to compress the copied log files.
Note
- The script utilizes the GlobalFunctions PowerShell module, which needs to be installed first.
Links
- Release 2.0 at Github:
- Original blog post: https://granikos.eu/purge-exchange-server-and-iis-log-files
Social
- Twitter @stensitzki
Kurz-URL | Short URL: https://granikos.eu/go/HGYz

