Get-AzureRmSiteRecoveryVault

Gets Site Recovery vaults from the current subscription.

Syntax

Get-AzureRmSiteRecoveryVault
   [-ResourceGroupName <String>]
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzureRmSiteRecoveryVault cmdlet gets a list of Azure Site Recovery vaults or a specific Site Recovery vault from the current subscription.

Optional Parameters

-DefaultProfile

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

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the vault.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of the Azure resource group from which to get the recovery services object.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

System.Collections.Generic.List`1[Microsoft.Azure.Commands.SiteRecovery.ASRVault]