The new two-machine perf tests specify -ErrorAction 'Continue' for each command within the remote script block, but, curiously, PowerShell treats errors in local and remote script blocks differently. Without digging into why exactly there is such a difference, simply specify each invocation of the remote script block is to have its errors continued.
The new two-machine perf tests specify
-ErrorAction 'Continue'
for each command within the remote script block, but, curiously, PowerShell treats errors in local and remote script blocks differently. Without digging into why exactly there is such a difference, simply specify each invocation of the remote script block is to have its errors continued.Avoids situations like the following: