mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-08-12 21:53:05 -06:00
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:
@@ -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' `
|
||||
|
||||
Reference in New Issue
Block a user