Script to backup event logs using a server list

Summary

Have you ever needed to back up event logs for root cause analysis or auditing? Did you access each server and manually export the requested log file?

If yes, I hope you find this script handy.

The script

What does it the script do?

This script will read a list of servers and backup the specified event logs to a local folder on the source servers.

After the backup is complete it will move the event logs files to network share specified by the destination, so all backed up files are stored in a single location.

Server List and Script completion example:

I hope you find this useful the next time you need to backup event logs from multiple servers.

Leave a Reply