Two vm A and B, both windows azure vm (separate subscription, not in same domain/virtual network).
What I want to do is to control vm B from vm A, particular, I'd like to do in vm A, start vm B, run a program in vm B, once it is done, stop vm B.
I've checked the powershell azure module and I can start/stop vm B from powershell in vm A, however I didn't figure how to run a program in vm B via powershell script in vm A.
Anyone knows how to achieve this? Appreciate any thoughts/suggestion.
Thanks