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

PS C:\> $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:Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

ASRVaultSettings