Please explain what values to insert into this line of code?

Nolan Lemuel Augustine 235 Reputation points

remove-azrecoveryservicesvault -vault $vault

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,144 questions
{count} votes

Accepted answer
  1. Andreas Baumgarten 98,531 Reputation points MVP

    Hi @Nolan Lemuel Augustine ,

    in addition to Olaf's answer:

    You have to get the Recovery Services Vault object in the variable $vault first:

    $vault = Get-AzRecoveryServicesVault -Name "TestVault-rsv"
    Remove-AzRecoveryServicesVault -Vault $vault 

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)


    Andreas Baumgarten

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Olaf Helper 41,006 Reputation points
    1 person found this answer helpful.