title: Using Azure RM Powershell how do I find out which Recovery Services Vault VM is connected to?
body: <p>I can clearly see they can do that in the Portal, so must be the way - without looping through all available recovery services vaults - to get the RSV VM belongs to.</p>
  
  <p>In other words: I know only VM - Name, Id etc. I want to know the Vault it belongs to. 
  Without traversing through all the vaults in the subscription - I know how to achieve this, but it's too slow with many Vaults.</p>
  
  <p>Traversing / Looping / FOREACHing through all vaults trying to find the VM is not an acceptable, although working, solution.</p>