Get-AzRecoveryServicesAsrVaultContext
Gets ASR vault settings information for the Recovery Services vault.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
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 |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
None