mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-13 12:42:59 +01:00
update
This commit is contained in:
1
WELA.ps1
1
WELA.ps1
@@ -1,5 +1,6 @@
|
|||||||
# Set the console encoding to UTF-8
|
# Set the console encoding to UTF-8
|
||||||
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
[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
|
# Step 1: Run the auditpol command using cmd.exe and redirect its output to a file
|
||||||
$outputFilePath = "auditpol_output.txt"
|
$outputFilePath = "auditpol_output.txt"
|
||||||
|
|||||||
Reference in New Issue
Block a user