This commit is contained in:
fukusuket
2025-03-12 08:59:02 +09:00
parent 213c7c953c
commit 143ae78113

View File

@@ -6,7 +6,7 @@ $filteredOutput = $auditpolOutput | Select-String -NotMatch "No Auditing"
$extractedStrings = [System.Collections.Generic.HashSet[string]]::new() $extractedStrings = [System.Collections.Generic.HashSet[string]]::new()
$filteredOutput | ForEach-Object { $filteredOutput | ForEach-Object {
if ($_ -match '{(.*?)}') { if ($_ -match '{(.*?)}') {
$extractedStrings.Add($matches[1]) [void]$extractedStrings.Add($matches[1])
} }
} }