Archiving IIS Logs with Powershell
1 maart 2012· Category :Nieuws· tags : 7zip log archiving, iis 7 logging, iis7 log archiving, log archiving, powershell script log archive· Geen reacties op Archiving IIS Logs with Powershell
A commonly asked question about IIS I read many times is: is there an easy way to archive IIS logs. After reading many forums and blogs I couldn’t find something that does this job for me.
This script uses 7zip to compress the files, and since logfiles are plain-text only, the compress-ratio is pretty good.
Requirements:
- Windows Powershell modules installed
- 7zip installed (http://www.7-zip.org/)