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.
This commit is contained in:
rbalsleyMSFT
2026-06-25 19:39:08 -07:00
parent e1d8320c44
commit 940c0c9565
3 changed files with 3 additions and 3 deletions
@@ -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' `
@@ -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' `
@@ -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' `