PowerShell Forums
Try/catch in for each loop with invoke-command
PowerShell Help
krzydoug
December 16, 2021, 3:24pm
2
Remove return. Return ends the the current scope
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Powershell - Script doesnt work
PowerShell Help
10
312
May 16, 2024
Invoke-command question
PowerShell Help
5
231
May 16, 2024
list failed or succeeded hosts when running invoke-command on remote computers
PowerShell Help
8
285
May 16, 2024
Invoke-Command with Try/Catch and adding to an external array
PowerShell Help
22
823
May 16, 2024
Using invoke-command on multiple workstations, how do I ignore the errors?
PowerShell Help
8
212
March 21, 2025