This commit is contained in:
Dandaedre 2026-09-04 13:38:40 +02:00
parent 6e7a6cc6f4
commit c726bfa0f7
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ $computerName = $env:COMPUTERNAME
$reportName = 'windows_system_report_' + $computerName + '_' + $timestamp + '.txt'
$reportPath = Join-Path $OutputDirectory $reportName
$encoding = New-Object System.Text.UTF8Encoding($false)
$encoding = $encoding = [System.Text.Encoding]::ASCII
$writer = New-Object System.IO.StreamWriter($reportPath, $false, $encoding)
try {