你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzRecoveryServicesAsrVaultContext

Gets ASR vault settings information for the Recovery Services vault.

Syntax

Get-AzRecoveryServicesAsrVaultContext
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzRecoveryServicesAsrVaultContext cmdlet gets ASR vault settings information related to the Recovery Services vault.

Examples

Example 1

$VaultSettings = Get-AzRecoveryServicesAsrVaultContext

Gets the ASR vault settings for the currently active(in the PowerShell session) Recovery Services vault.

Parameters

-DefaultProfile

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

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

ASRVaultSettings