[Script Of Jul. 29] How to automatically delete Windows event logs by date (Code Snippet)

image

Jul.

29

image

image

Script Download:
The script is available for download from https://gallery.technet.microsoft.com/scriptcenter/How-to-automatically-4a397df0.

The sample code demonstrates how to automatically delete specified even logs.

You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery