Hi,
To my knowledge, the InlineScript sessions running in parallel do not communicate with each other. You may try to set ErrorAction to stop in your scripts and handle the errors using try/catch blocks in which the script can be manually deployed on other servers.
Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.