Skip to content

Commit c1e837e

Browse files
committed
update
1 parent f9ec838 commit c1e837e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/WELA.ps1

+2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ $outputFilePath = "auditpol_output.txt"
33
Start-Process -FilePath "cmd.exe" -ArgumentList "/c chcp 437 & auditpol /get /category:* /r > $outputFilePath" -NoNewWindow -Wait
44
$auditpolOutput = Get-Content -Path $outputFilePath
55
$filteredOutput = $auditpolOutput | Select-String -NotMatch "No Auditing"
6+
Write-Host "DEBUG2"
67
$extractedStrings = [System.Collections.Generic.HashSet[string]]::new()
8+
Write-Host "DEBUG"
79
$filteredOutput | ForEach-Object {
810
if ($_ -match '{(.*?)}') {
911
$extractedStrings.Add($matches[1])

0 commit comments

Comments
 (0)