I just have updated a Management Pack named ‘Create Log Deletion Job’. It help to make Admins life a bit easier.
Here the details:
‘Create Log Deletion Job’ is a Management Pack that contains two SCOM – Agent Tasks to tame logfile growth.
- Create Log Deletion Job creates a scheduled task that deletes log files older than N days on the monitored computer.
- Create Log Compress ( + Deletion ) Job creates a scheduled task that compresses files older than N days and optionally also deletes the compressed files older than M days on the monitored computer.
It works on SCOM 2012 R2 and later.
It look like this:
In the Community MP Catalog you can find it there:
Documentation and source code can be found on GitHub:
Feedback or questions are welcome 🙂