Try/catch in for each loop with invoke-command

Remove return. Return ends the the current scope

1 Like