This project is read-only.

Logs with timestamp

Mar 20, 2015 at 2:00 AM

Great script!

Would it be easy to insert date stamp in the log and output files?

It would be great to include an automatic cleaning of the log dir :

Delete files older than the $limit.

Get-ChildItem -Path $LogPath -Recurse -Force | Where-Object { !$_.PSIsContainer -and $_.CreationTime -lt $limit } | Remove-Item -Force