mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-11-09 06:39:15 +01:00
add color table
This commit is contained in:
1 parent
2b6398d990
commit
9c2fd63688
1 file changed
+1
-1
@@ -1489,7 +1489,7 @@ function AuditFileSize {
|
||||
"--------", `
|
||||
"------", `
|
||||
"-----------", `
|
||||
"------------")
|
||||
"--------------")
|
||||
foreach ($result in $results) {
|
||||
$color = if ($result.CorrectSetting -eq "Y") { "Green" } else { "Red" }
|
||||
Write-Host ("{0,-75} {1,-15} {2,-15} {3,-15} {4,-15} {5,-10}" -f `
|
||||
|
||||
Reference in new issue
Block a user