Public/ps1/Log/Move-LogFile.ps1
function Move-LogFile { if ($LogManagement) { $extension = [int](Get-Date -UFormat %s -Millisecond 0) $logFile = $LogManagement.LogFolder Move-Item $logFile ($LogManagement.LogFolder+"_"+$extension) } } |