feat: full/rotate check

This commit is contained in:
fukusuket
2025-04-20 16:17:57 +09:00
parent 1cd6ae8a66
commit 5cfef4af1e

View File

@@ -1472,6 +1472,8 @@ function AuditFileSize {
Default = $logNames[$logName][0] Default = $logNames[$logName][0]
Recommended = $logNames[$logName][1] Recommended = $logNames[$logName][1]
CorrectSetting = $correctSetting CorrectSetting = $correctSetting
IsLogFull = $logInfo.IsLogFull
LogMode = $logInfo.LogMode
} }
} }
@@ -1483,7 +1485,10 @@ function AuditFileSize {
"Max Size", ` "Max Size", `
"Default", ` "Default", `
"Recommended", ` "Recommended", `
"Correct Setting") "Correct Setting", `
"Is Log Full", `
"Log Mode" `
)
Write-Host ($tableLayout -f ` Write-Host ($tableLayout -f `
"--------", ` "--------", `
"------------", ` "------------", `
@@ -1499,7 +1504,10 @@ function AuditFileSize {
$result.MaxLogSize, ` $result.MaxLogSize, `
$result.Default, ` $result.Default, `
$result.Recommended, ` $result.Recommended, `
$result.CorrectSetting) -ForegroundColor $color $result.CorrectSetting, `
$result.IsLogFull, `
$result.LogMode `
) -ForegroundColor $color
} }
$results | Export-Csv -Path "WELA-FileSize-Result.csv" -NoTypeInformation $results | Export-Csv -Path "WELA-FileSize-Result.csv" -NoTypeInformation