I decided to check the size of some of my logs on specific servers. Well, as it turns out there were 4GB of logs! I needed a script that would delete the files after so many days. I was really lazy and looked up the recursion portion (MS Scripting Guys)! You can point this script anywhere and it will delete any files older then the days you specify.
At the last job I worked at they had a shared folder. In this folder they would put scanned documents. The only problem was sometimes they updated documents or created new sub folders. This script will copy all updated files, over writing the previous ones using the date modified as a comparison. It will also copy subfolders to the backup destination as they are created. It will not delete files if the name of the file has changed.
Now this script is a little complex, but if you follow the instructions at the bottom, you should be fine.
I needed a script that could search thru log files and fing an email address. This script can do just that! I used some code I found on the Internet and modified if for my purposes! I hope you like this script.