From 6de7c861edbd00f92cf3b6905bd65233e9b7584c Mon Sep 17 00:00:00 2001 From: rbalsleyMSFT <53497092+rbalsleyMSFT@users.noreply.github.com> Date: Mon, 27 Oct 2025 15:58:48 -0700 Subject: [PATCH] Adds logging for catalog downloads in Save-DellDriversTask function. Includes messages for downloading Dell model and server catalogs to improve traceability during driver retrieval operations. --- FFUDevelopment/FFUUI.Core/FFUUI.Core.Drivers.Dell.psm1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FFUDevelopment/FFUUI.Core/FFUUI.Core.Drivers.Dell.psm1 b/FFUDevelopment/FFUUI.Core/FFUUI.Core.Drivers.Dell.psm1 index 1ddedea..8e817ed 100644 --- a/FFUDevelopment/FFUUI.Core/FFUUI.Core.Drivers.Dell.psm1 +++ b/FFUDevelopment/FFUUI.Core/FFUUI.Core.Drivers.Dell.psm1 @@ -204,6 +204,7 @@ function Save-DellDriversTask { if (Test-Path $modelCabPath) { Remove-SafeFolder $modelCabPath } if (Test-Path $modelXmlPath) { Remove-SafeFolder $modelXmlPath } + WriteLog "Downloading Dell model catalog from $cabUrl to $modelCabPath" Start-BitsTransferWithRetry -Source $cabUrl -Destination $modelCabPath Invoke-Process -FilePath Expand.exe -ArgumentList """$modelCabPath"" ""$modelXmlPath""" | Out-Null Remove-Item $modelCabPath -Force -ErrorAction SilentlyContinue @@ -225,6 +226,7 @@ function Save-DellDriversTask { if ($need) { if (Test-Path $catalogCab) { Remove-SafeFolder $catalogCab } if (Test-Path $catalogXml) { Remove-SafeFolder $catalogXml } + WriteLog "Downloading Dell server catalog from $catalogUrl to $catalogCab" Start-BitsTransferWithRetry -Source $catalogUrl -Destination $catalogCab Invoke-Process -FilePath Expand.exe -ArgumentList """$catalogCab"" ""$catalogXml""" | Out-Null Remove-Item $catalogCab -Force -ErrorAction SilentlyContinue @@ -292,6 +294,7 @@ function Save-DellDriversTask { } if (-not (Test-Path $driverFilePath)) { + WriteLog "$status URL: $($pkg.DownloadUrl)" try { Start-BitsTransferWithRetry -Source $pkg.DownloadUrl -Destination $driverFilePath } catch { WriteLog "Download failed: $($pkg.DownloadUrl) $($_.Exception.Message)"; continue } }