script to compress exchange logs older than 1 day and delete that logs after compressed

%3CLINGO-SUB%20id%3D%22lingo-sub-1600329%22%20slang%3D%22en-US%22%3Escript%20to%20compress%20exchange%20logs%20older%20than%201%20day%20and%20delete%20that%20logs%20after%20compressed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1600329%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIm%20new%20member%20here%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20some%20help%20to%26nbsp%3Bscript%20to%20compress%20exchange%20logs%20older%20than%201%20day%20and%20delete%20that%20logs%20after%20compressed%20as%20W3SVC%20logs%20are%20filling%20up%20the%20disk%20everyday%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1600329%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1600350%22%20slang%3D%22en-US%22%3ERe%3A%20script%20to%20compress%20exchange%20logs%20older%20than%201%20day%20and%20delete%20that%20logs%20after%20compressed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1600350%22%20slang%3D%22en-US%22%3Ethis%20should%20work%20%3A-%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgallery.technet.microsoft.com%2Fscriptcenter%2FDelete-IIS-Logs-Using-Task-1664095d%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgallery.technet.microsoft.com%2Fscriptcenter%2FDelete-IIS-Logs-Using-Task-1664095d%3C%2FA%3E%3CBR%20%2F%3Ejust%20replace%20-2%20with%20-1%3C%2FLINGO-BODY%3E
Occasional Visitor

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

1 Reply