mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-06 17:22:50 +01:00
add color table
This commit is contained in:
2
WELA.ps1
2
WELA.ps1
@@ -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 `
|
||||||
|
|||||||
Reference in New Issue
Block a user