mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-07 17:52:49 +01:00
feat: verbose security
This commit is contained in:
@@ -233,7 +233,7 @@ System
|
||||
|
||||
$msgLines = $msg -split "`n"
|
||||
foreach ($line in $msgLines) {
|
||||
if ($line -match '^\s*disabled.*\)$') {
|
||||
if ($line -contains 'disabled') {
|
||||
Write-Host -NoNewline $line -ForegroundColor Red
|
||||
} else {
|
||||
Write-Host $line
|
||||
|
||||
Reference in New Issue
Block a user