From 7ff2a20e07abb73cf637bda64a9ef59a79806b0a Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Thu, 13 Mar 2025 23:53:20 +0900 Subject: [PATCH] update --- WELA.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/WELA.ps1 b/WELA.ps1 index 1c63dbb4..d683c25d 100644 --- a/WELA.ps1 +++ b/WELA.ps1 @@ -1,5 +1,6 @@ # 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"