Hello Zsolt,
You may want to add in PowerShell "timeout -1" in command section when creating the container instance. That is the equivalent of "sleep infinity" for bash. "timeout -1" means that the system will wait indefinitely before terminating the process.
So something like: ["powershell", "timeout -1"]
I hope this is helpful. If any clarification needed, let me know and I will do my best to answer.
Please "Accept as Answer" and Upvote if it helped, so that it can help others in the community looking for help on similar topics.
Thank you!