The PowerShell script to purge Exchange Server and IIS log files has been updated to version 2.1.
The function Copy-LogFiles has been slightly rewritten and there has been a change in the cmdlet parameters.
When using ArchiveMode CopyAndZip or CopyZipAndDelete all copied log files in the EXCHANGESERVER\LOGS folder are added to a compressed archive. The script creates a separate archive for IIS and Exchange logs.

Code updated
Note
- The script utilizes the GlobalFunctions PowerShell module which needs to be installed first.
Links
- Release 2.1 at Github: https://github.com/Apoc70/Purge-LogFiles/releases/tag/v2.1
- Original blog post: https://www.granikos.eu/en/justcantgetenough/PostId/208/purge-exchange-server-and-iis-log-files
Social
- Twitter @stensitzki