mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-06 17:22:50 +01:00
update
This commit is contained in:
9
WELA.ps1
9
WELA.ps1
@@ -13,14 +13,7 @@ $logo = @"
|
|||||||
|
|
||||||
"@
|
"@
|
||||||
|
|
||||||
foreach ($line in $logo -split "`n") {
|
Write-Host $logo -ForegroundColor Green
|
||||||
foreach ($char in $line.tochararray()) {
|
|
||||||
if ($([int]$char) -le 9580 -and $([int]$char) -ge 9552) {
|
|
||||||
Write-host -ForegroundColor Green $char -NoNewline
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Write-Host ""
|
|
||||||
}
|
|
||||||
|
|
||||||
$auditpolOutput = Get-Content -Path $outputFilePath
|
$auditpolOutput = Get-Content -Path $outputFilePath
|
||||||
$filteredOutput = $auditpolOutput | Select-String -NotMatch "No Auditing"
|
$filteredOutput = $auditpolOutput | Select-String -NotMatch "No Auditing"
|
||||||
|
|||||||
Reference in New Issue
Block a user