Running arbitrary number of tasks in parallel with PowerShell, while showin overall progress.
The main disadvantage of the code I provived in previous post is that it is performed sequentially. We can speed it up by means of parallel processing, since main limiting factor is not an I/O but minifying algorithms performance.
There are a lot of ways to use parallelism in PowerShell and it wasn’t clear for me which one suits well for my task. I.e. to convert my script, which is processing a lot of small files on a local machine.
It also should:
- provide updates in real time;
- keep output table formatting as close to original as possible.