@Trouble1 Thank you for your query!!!
You can make use of kubectl exec to get a shell to a running container.
The functionality might not be similar to Win RM but might be helpful in your use case.
You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster.
You can refer to this article as well for more information.
Hope it helps!!!
Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics