diff --git a/WELA.ps1 b/WELA.ps1 index f9cce727..dbbe565c 100644 --- a/WELA.ps1 +++ b/WELA.ps1 @@ -108,7 +108,7 @@ function CalculateTotalUsableRate { function ShowRulesCountsByLevel { param ($usableRate, $msg, $colorMsg) Write-Host -NoNewline $msg - $color = if ($colorMsg -match "Disabled") { "Red" } elseif ($colorMsg -match "Partially") { "DarkYellow" } else { "White" } + $color = if ($colorMsg -match "Disabled") { "Red" } elseif ($colorMsg -match "Partially") { "DarkYellow" } else { "Green" } Write-Host "$colorMsg" -ForegroundColor $color $levelColorMap = [ordered]@{ "critical" = "Red"