Will Invoke-Command wait all computers in the first set to complete its task before moving to next computer set

Hi all,

if Invoke-Command target on 128 computers, and leave the -ThrottleLimit unset which use 32 as default value,

it will run tasks on the first 32 computers, then next 32 computers, then next 32, then next 32, right?

In the first set of computers, if 8 computers have completed its tasks. will POWERSHELL wait for the rest of the first set of computers to complete its tasks? or it will continue to run tasks on 8 new computers from the second set of computers?


It will run each as quickly as it can while not exceeding 32 sessions. So as soon as one is done another starts. If three finish, three more start.

1 Like