From 7a3501e40c575718d66ebbd2ec443894cd7a6420 Mon Sep 17 00:00:00 2001 From: rbalsleyMSFT <53497092+rbalsleyMSFT@users.noreply.github.com> Date: Thu, 25 Jun 2026 19:39:08 -0700 Subject: [PATCH] Capture parallel processing output in app flows Assign Invoke-ParallelProcessing results in the Winget and UI app paths so raw result hashtables are not emitted to the console during app download or copy operations. --- FFUDevelopment/FFU.Common/FFU.Common.Winget.psm1 | 2 +- FFUDevelopment/FFUUI.Core/FFUUI.Core.Applications.psm1 | 2 +- FFUDevelopment/FFUUI.Core/FFUUI.Core.Winget.psm1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FFUDevelopment/FFU.Common/FFU.Common.Winget.psm1 b/FFUDevelopment/FFU.Common/FFU.Common.Winget.psm1 index 7090d19..aab450c 100644 --- a/FFUDevelopment/FFU.Common/FFU.Common.Winget.psm1 +++ b/FFUDevelopment/FFU.Common/FFU.Common.Winget.psm1 @@ -799,7 +799,7 @@ function Get-Apps { } # Invoke parallel processing in non-UI mode (no WindowObject or ListViewControl) - Invoke-ParallelProcessing -ItemsToProcess $itemsToProcess ` + $parallelResults = Invoke-ParallelProcessing -ItemsToProcess $itemsToProcess ` -IdentifierProperty 'Id' ` -StatusProperty 'DownloadStatus' ` -TaskType 'WingetDownload' ` diff --git a/FFUDevelopment/FFUUI.Core/FFUUI.Core.Applications.psm1 b/FFUDevelopment/FFUUI.Core/FFUUI.Core.Applications.psm1 index 207be64..4d5ff54 100644 --- a/FFUDevelopment/FFUUI.Core/FFUUI.Core.Applications.psm1 +++ b/FFUDevelopment/FFUUI.Core/FFUUI.Core.Applications.psm1 @@ -487,7 +487,7 @@ function Invoke-CopyBYOApps { # Invoke the centralized parallel processing function # Pass task type and task-specific arguments - Invoke-ParallelProcessing -ItemsToProcess $itemsToProcess ` + $parallelResults = Invoke-ParallelProcessing -ItemsToProcess $itemsToProcess ` -ListViewControl $State.Controls.lstApplications ` -IdentifierProperty 'Name' ` -StatusProperty 'CopyStatus' ` diff --git a/FFUDevelopment/FFUUI.Core/FFUUI.Core.Winget.psm1 b/FFUDevelopment/FFUUI.Core/FFUUI.Core.Winget.psm1 index 76da2e6..920ef6f 100644 --- a/FFUDevelopment/FFUUI.Core/FFUUI.Core.Winget.psm1 +++ b/FFUDevelopment/FFUUI.Core/FFUUI.Core.Winget.psm1 @@ -445,7 +445,7 @@ function Invoke-WingetDownload { # Invoke the centralized parallel processing function # Pass task type and task-specific arguments - Invoke-ParallelProcessing -ItemsToProcess $itemsToProcess ` + $parallelResults = Invoke-ParallelProcessing -ItemsToProcess $itemsToProcess ` -ListViewControl $State.Controls.lstWingetResults ` -IdentifierProperty 'Id' ` -StatusProperty 'DownloadStatus' `