Forum Discussion
archie1279
Aug 20, 2020Copper Contributor
script to compress exchange logs older than 1 day and delete that logs after compressed
Hi All
Im new member here
I need some help to script to compress exchange logs older than 1 day and delete that logs after compressed as W3SVC logs are filling up the disk everyday
- DeepakRandhawaIron Contributorthis should work :-
https://gallery.technet.microsoft.com/scriptcenter/Delete-IIS-Logs-Using-Task-1664095d
just replace -2 with -1