title: Getting all Azure backup from recovery vault across all subscriptions
body: <p>I am trying to use powershell to generate a CSV report to show all backup items in all recovery vaults across all Azure subscriptions.</p>
  <pre><code> ForEach ($Subscription in $Subscriptions) {
               $RCvaults = get-azrecoveryservicesvault
                    ForEach ($RCvault in $RCvaults) {
                              get-AzRecoveryServicesBackupJob
      }
   }
  </code></pre>
  <p>However, it seems I am only getting backup information of one VM.   Also, I am not too sure how to export to CSV.  I'm new to Powershell, any help would be appreciated</p>