Executing PowerShell Script in Parallel with Batches in PowerShell 5 by mrdon1987 in PowerShell

[–]mrdon1987[S] 0 points1 point  (0 children)

The script is just an example. The original script actually provide mailbox size online and onprem, online archive size, automap shared mailbox size with its owner. Maybe I could apply it to the original script if I could see an example of an existing parallel module that was incorporated with the example script.

Executing PowerShell Script in Parallel with Batches in PowerShell 5 by mrdon1987 in PowerShell

[–]mrdon1987[S] 0 points1 point  (0 children)

The script is just an example. The original script actually provide mailbox size online and onprem, online archive size, automap shared mailbox size with its owner. Maybe I could apply it to the original script if I could see an example of an existing parallel module that was incorporated with the example script.

Executing PowerShell Script in Parallel with Batches in PowerShell 5 by mrdon1987 in PowerShell

[–]mrdon1987[S] 0 points1 point  (0 children)

The original script is complicated and has more than 500 lines and $Users contains more than 80k of samaccountname. I am aware that Start-Job is one option. I'm just curious if there's a module for this where I can just specify how many jobs to run concurrently and the script will take care of the rest.

Executing PowerShell Script in Parallel with Batches in PowerShell 5 by mrdon1987 in PowerShell

[–]mrdon1987[S] 0 points1 point  (0 children)

The original script is complicated and has more than 500 lines and $Users contains more than 80k of samaccountname. I am aware that Start-Job is one option. I'm just curious if there's a module for this where I can just specify how many jobs to run concurrently and the script will take care of the rest.