From 5cfef4af1ecc66e41c8707785e25b8acdf2d9b3a Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Sun, 20 Apr 2025 16:17:57 +0900 Subject: [PATCH] feat: full/rotate check --- WELA.ps1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/WELA.ps1 b/WELA.ps1 index 705177f6..33e6ba0d 100644 --- a/WELA.ps1 +++ b/WELA.ps1 @@ -1472,6 +1472,8 @@ function AuditFileSize { Default = $logNames[$logName][0] Recommended = $logNames[$logName][1] CorrectSetting = $correctSetting + IsLogFull = $logInfo.IsLogFull + LogMode = $logInfo.LogMode } } @@ -1483,7 +1485,10 @@ function AuditFileSize { "Max Size", ` "Default", ` "Recommended", ` - "Correct Setting") + "Correct Setting", ` + "Is Log Full", ` + "Log Mode" ` + ) Write-Host ($tableLayout -f ` "--------", ` "------------", ` @@ -1499,7 +1504,10 @@ function AuditFileSize { $result.MaxLogSize, ` $result.Default, ` $result.Recommended, ` - $result.CorrectSetting) -ForegroundColor $color + $result.CorrectSetting, ` + $result.IsLogFull, ` + $result.LogMode ` + ) -ForegroundColor $color } $results | Export-Csv -Path "WELA-FileSize-Result.csv" -NoTypeInformation