Modifier

Partager via


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