diff --git a/WELA.ps1 b/WELA.ps1 index 44f912c7..50441598 100644 --- a/WELA.ps1 +++ b/WELA.ps1 @@ -81,6 +81,10 @@ } $ruleCounts += ")" } + if ($this.Category -ne "PowerShell" -and $this.Category -notcontains "Security") { + Write-Host "$($this.Category): $ruleCounts" -ForegroundColor $color + + } if ($this.SubCategory) { Write-Host " - $($this.SubCategory): $ruleCounts" -ForegroundColor $color }