LinkedIn

November 2010
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

MAP

Automating Windows Event log

November 11th, 2010 by and tagged ,

I had the situation once, where i was asked to backup the event log on few server & clear it from server to save the space as well as retain log for audit. While, beating my head on the wall, i stumbled to few sites & i found scripts which actually worked for me to achieve my requirements. I have not written below listed VB script, neither confers any rights on it, use it on your own risk.

http://www.scriptinganswers.com/vault/Event%20Logs%20and%20Logging/

http://www.tek-tips.com/viewthread.cfm?qid=1225274&page=1

http://www.enterpriseitplanet.com/resources/scripts_win/article.php/3776106/Backup-and-Clear-Event-Logs.htm

You can use ADM file to configure setting using group policy.

http://mx02.wellbury.com/misc/EventLogPolicy.adm

 

Posted in Scripts/Powershell | No Comments »



Leave a Reply