I am trying to process a bunch of files (hash them) from a Directory in parallel, but need the results to keep the order the inputs have.
Get-ChildItem -Recurse -Force -File `
| Sort-Object -Property 'FullName' `
| % -ThrottleLimit 10 -Parallel { digest.exe $_.FullName }
Related Questions about indexing do not deal with the parallel case and parallel questions never seem to care about order, but sometimes about a unique counter