add color table

This commit is contained in:
fukusuket
2025-04-20 09:18:13 +09:00
parent 2b6398d990
commit 9c2fd63688

View File

@@ -1489,7 +1489,7 @@ function AuditFileSize {
"--------", ` "--------", `
"------", ` "------", `
"-----------", ` "-----------", `
"------------") "--------------")
foreach ($result in $results) { foreach ($result in $results) {
$color = if ($result.CorrectSetting -eq "Y") { "Green" } else { "Red" } $color = if ($result.CorrectSetting -eq "Y") { "Green" } else { "Red" }
Write-Host ("{0,-75} {1,-15} {2,-15} {3,-15} {4,-15} {5,-10}" -f ` Write-Host ("{0,-75} {1,-15} {2,-15} {3,-15} {4,-15} {5,-10}" -f `