Logs with timestamp

Mar 20, 2015 at 2:00 AM
Hello,

Great script!

Would it be easy to insert date stamp in the log and output files?
ex:
"2015-03-19-Snapraid.log"
"2015-03-19-snaprait.out"
"2015-03-19-snapRAIDerror.out"

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