We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a64d7a commit a2bf75bCopy full SHA for a2bf75b
sources/WingetIntunePackager.ps1
@@ -637,7 +637,8 @@ if (!(Test-Path $Location)) {
637
New-Item -ItemType Directory -Force -Path $Location | Out-Null
638
}
639
#Encoding & error management
640
-[Console]::InputEncoding = [Console]::OutputEncoding = [System.Text.UTF8Encoding]::new()
+$null = cmd /c ''
641
+$Global:OutputEncoding = [Console]::InputEncoding = [Console]::OutputEncoding = [System.Text.UTF8Encoding]::new()
642
$ProgressPreference = "SilentlyContinue"
643
644
Close-PopUp
0 commit comments