Scripts to Report All Backups in Recovery Services Vaults
All VM in Backup: # Import necessary modules # Import-Module Az # Connect-AzAccount # Get all Recovery Services Vaults $recoveryVaults = Get-AzRecoveryServicesVault # Initialize an array to hold backup items $backupItems = @() # Enumerate all Recovery Services Vaults foreach ($vault in $recoveryVaults) { # Set the context to the current vault Set-AzRecoveryServicesVaultContext -Vault $vault […]