Batch File to Archive Logs Daily
If you want to archive logs daily then you could use the following batch file. This could be used to archive ISA logs, IIS logs and the like. 1) Extract 7Zip from here to c:\windows 2) Edit the …
If you want to archive logs daily then you could use the following batch file. This could be used to archive ISA logs, IIS logs and the like. 1) Extract 7Zip from here to c:\windows 2) Edit the …
Batch File to delete folders and contents older than 10 days. powershell Copy FORFILES /S /D -10 /C "cmd /c IF @isdir == TRUE rd /S /Q @path"