From e5301ce23ebd5ca9f0d0a835af859c92cfb3c1f5 Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Thu, 13 Mar 2025 23:53:48 +0900 Subject: [PATCH] update --- WELA.ps1 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/WELA.ps1 b/WELA.ps1 index d683c25d..7c9c7e0a 100644 --- a/WELA.ps1 +++ b/WELA.ps1 @@ -1,7 +1,3 @@ -# Set the console encoding to UTF-8 -[Console]::OutputEncoding = [System.Text.Encoding]::UTF8 -$PSDefaultParameterValues['Out-File:Encoding'] = 'utf8' - # Step 1: Run the auditpol command using cmd.exe and redirect its output to a file $outputFilePath = "auditpol_output.txt" Start-Process -FilePath "cmd.exe" -ArgumentList "/c chcp 437 & auditpol /get /category:* /r" -NoNewWindow -Wait -RedirectStandardOutput $outputFilePath