From 06d96f32232231c9530b37c4ac850471e233531f Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Mon, 14 Apr 2025 09:34:04 +0900 Subject: [PATCH] add percentage --- WELA.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WELA.ps1 b/WELA.ps1 index 1c918493..ee7b398a 100644 --- a/WELA.ps1 +++ b/WELA.ps1 @@ -182,7 +182,7 @@ function AuditLogSetting { [string] $outType ) $autidpolTxt = "./auditpol.txt" - # Start-Process -FilePath "cmd.exe" -ArgumentList "/c chcp 437 & auditpol /get /category:* /r" -NoNewWindow -Wait -RedirectStandardOutput $autidpolTxt + Start-Process -FilePath "cmd.exe" -ArgumentList "/c chcp 437 & auditpol /get /category:* /r" -NoNewWindow -Wait -RedirectStandardOutput $autidpolTxt $enabledguid = [System.Collections.Generic.HashSet[string]]::new() Get-Content -Path $autidpolTxt | Select-String -NotMatch "No Auditing" | ForEach-Object { if ($_ -match '{(.*?)}') {