Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 420 Bytes

site-recovery-delete-vault-powershell.md

File metadata and controls

15 lines (8 loc) · 420 Bytes

Delete a Recovery Services vault (PowerShell)

  1. Get the Recovery services vault

     $vault = Get-AzureRmRecoveryServicesVault -Name "ContosoVault"
    
  2. Delete the vault

     Remove-AzureRmRecoveryServicesVault -Vault $vault
    

Warning

Use the above command with utmost caution since if you delete any vault by mistake, you will lose all the data. This is a permanent action and there is no way to reverse it.