I'm a greenhorn trying to work my way up to newbie status with examples of scripts on EE,
Ed Wilson's Windows Scripting Learning Guide, and Google.
I want to copy the log files that are older than the current days date from the IIS server to a server we archive them on, and then delete the log file from the IIS server, both servers are in the same domain. Or simply moving the files from one server to the other would work also.
We have thirty or so sites on the server, each site has a separate folder that contains that particular sites log files. The structure looks like \\servername\web\logfiles\www.site.org\exyymmdd.log
I'm asking for a script that would loop though the folder and either copies and deletes, or moves the log files. I would use Task Manager to run the script once a week.