diff --git a/automation/modules/VmBackup/VmBackup.psm1 b/automation/modules/VmBackup/VmBackup.psm1 index 023eb4a..416d770 100644 --- a/automation/modules/VmBackup/VmBackup.psm1 +++ b/automation/modules/VmBackup/VmBackup.psm1 @@ -31,7 +31,6 @@ function Enable-VmBackupProtection { $container = Get-AzRecoveryServicesBackupContainer ` -ContainerType AzureVM ` -FriendlyName $VmName ` - -Status Registered ` -ErrorAction SilentlyContinue if ($container) {