< Back

Remove-AzureRmRecoveryServicesVault

Tue Jan 29, 2019 10:03 pm

NAME Remove-AzureRmRecoveryServicesVault



SYNOPSIS

Deletes a Recovery Services vault.





SYNTAX

Remove-AzureRmRecoveryServicesVault -Vault <ARSVault> [-Confirm] [-WhatIf] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Remove-AzureRmRecoveryServicesVault cmdlet deletes a Recovery Services vault.





PARAMETERS

-Vault <ARSVault>

Specifies an Azure Site Recovery vault object.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

ARSVault

Parameter 'Vault' accepts value of type 'ARSVault' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.RecoveryServices.VaultOperationOutput







NOTES









Example 1



PS C:\\> Remove-AzureRmRecoveryServicesVault -Vault $vault



Deletes a Recovery Services vault.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... vicesvault

Get-AzureRmRecoveryServicesVault

Get-AzureRmRecoveryServicesVaultSettingsFile

New-AzureRmRecoveryServicesVault