Automating Windows Event log
November 11th, 2010 by Awinish Vishwakarma and tagged EventLog, Scripts/Powershell
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
You can use ADM file to configure setting using group policy.
http://mx02.wellbury.com/misc/EventLogPolicy.adm
Posted in Scripts/Powershell | No Comments »