Would somebody help me out with a Powershell script to manage IIS log files? What I want to do.
Start at \\webserver1\logfile - loop through each folder.
File path c:\logfiles\domain.org\w3svc[X]
If the files date isn't equal to today date
then move the file \\webserver1\ domain.org\w3svc[X] to \\archiveserver\domain.org\w3svc[X] and
then rename the file u_ex100713.log to w1u_ex100713.log
else do nothing
if the files been moved and renamed then write or append the filename to \\webserver1\tracking.txt