A collection of scripts, tools, and processes for the successful installation, administration, and automation of the Microsoft Endpoint Configuration Manager product.
Description
Create a script that can be run as a Scheduled Task that will cleanup log directories based on a defined retention period, in days.
Purpose
This will help to ensure that the log repo will not balloon in size and continue grow by trimming the trailing directories out once they reach a suitable age.
Description Create a script that can be run as a Scheduled Task that will cleanup log directories based on a defined retention period, in days.
Purpose This will help to ensure that the log repo will not balloon in size and continue grow by trimming the trailing directories out once they reach a suitable age.