No LB first in log if Log Rotating...

pull/257/head
KnifMelti 2023-01-15 14:52:30 +01:00
parent 328bf3e756
commit b37858f26b
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ if ($IsSystem) {
} }
if ($Rotate -eq $True) { if ($Rotate -eq $True) {
#Log Header #Log Header
$Log = "`n##################################################`n# CHECK FOR APP UPDATES - $(Get-Date -Format (Get-culture).DateTimeFormat.ShortDatePattern)`n##################################################" $Log = "##################################################`n# CHECK FOR APP UPDATES - $(Get-Date -Format (Get-culture).DateTimeFormat.ShortDatePattern)`n##################################################"
$Log | out-file -filepath $LogFile -Append $Log | out-file -filepath $LogFile -Append
Write-Log "Running in System context" Write-Log "Running in System context"
if ($ActivateGPOManagement) { if ($ActivateGPOManagement) {