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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell