external help file | ms.assetid | online version | schema |
---|---|---|---|
Microsoft.Azure.Commands.RecoveryServicesRdfe.dll-Help.xml |
2A6DDF5F-2906-4DB5-B791-B6BF590261A0 |
2.0.0 |
Gets Site Recovery vaults from the current subscription.
[!INCLUDE rdfe-banner]
Get-AzureSiteRecoveryVault [-Profile <AzureSMProfile>] [<CommonParameters>]
Get-AzureSiteRecoveryVault -Name <String> [-Profile <AzureSMProfile>] [<CommonParameters>]
The Get-AzureSiteRecoveryVault cmdlet gets a list of Azure Site Recovery vaults or a specific Site Recovery vault from the current subscription.
PS C:\> Get-AzureSiteRecoveryVault
Name : ContosoVault
ID : 6467459117394545458
CloudServiceName : CS-West-US-RecoveryServices
SubscriptionId : a5aa5997-33e5-46cc-8ab8-b8d89b76b7ba
StatusReason :
Status : Active
Location : West US
This command gets the active Azure Site Recovery vault.
Specifies the name of the vault to get.
Type: String
Parameter Sets: ByName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Type: AzureSMProfile
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).