Hi Boopathi S
By default, Invoke-Command will keep retrying a disconnected machine for a few minutes, which is why you’re seeing those warnings. There isn’t a built-in “skip immediately” flag, but you can work around it by checking reachability before you try the command. A common trick is to wrap it with a Test-Connection or Test-NetConnection check, so you only send the command to machines that respond. For example, you could loop through your list of computers, ping each one, and if it’s alive, then run Invoke-Command on it. That way, if Computer-A is offline, it just moves on to Computer-B without wasting time. Another option is to use -ErrorAction SilentlyContinue with some custom logic, but honestly the pre-check with Test-Connection is cleaner and gives you more control. Think of it like building your own “skip list” logic instead of relying on PowerShell’s default retry behavior.
If everything is okay, don't forget to share your experience with the issue by "Accept answer". If you need more information, feel free to leave a message. We are happy to help!