Cleanup-Logs

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

Remove-Logs.ps1
 
 
 
 
 
5 Star
(4)
643 times
Add to favorites
9/20/2018
E-mail Twitter del.icio.us Digg Facebook
Be the first to ask a question.