Merge pull request #325 from arwidmark/UI_2510

Update FFU.Common.Core.psm1 to run BITS downloads in Normal Priority
This commit is contained in:
rbalsleyMSFT
2025-10-22 17:42:27 -07:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -15,6 +15,7 @@
This script acts as the primary host for the UI, connecting the user interface with the underlying build and logic modules.
#>
#Requires -RunAsAdministrator
[CmdletBinding()]
[System.STAThread()]
@@ -156,7 +156,7 @@ function Start-BitsTransferWithRetry {
$VerbosePreference = 'SilentlyContinue'
$ProgressPreference = 'SilentlyContinue'
Start-BitsTransfer -Source $Source -Destination $Destination -ErrorAction Stop
Start-BitsTransfer -Source $Source -Destination $Destination -Priority Normal -ErrorAction Stop
$ProgressPreference = $OriginalProgressPreference
$VerbosePreference = $OriginalVerbosePreference