I have many long running jobs to be executed in different azure virtual machines. I want to trigger those jobs asynchronously in their corresponding virtual machine with no dependency.
Ex If i have job1 and job2 to be executed in VMs v1 and v2 respectively, I cant trigger job1 in v1 and wait for it to complete. I want to trigger both of the jobs asynchronously and wait for both of them to complete.
How to achieve this in Windows powershell