No LB first in log if Log Rotating...
parent
328bf3e756
commit
b37858f26b
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue