Simple Powershell script that will find all of the files with the .log extension on the specified path that are older than  2 days, it will loop over all of the logs, check if they are locked by application, in case they are not locked, they will be cleaned up.Feel free to to tun

5 Star
643 times
Add to favorites
E-mail Twitter Digg Facebook
Be the first to ask a question.