Get-AzRecoveryServicesAsrVaultContext
Gets ASR vault settings information for the Recovery Services vault.
Syntax
Default (Default)
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.
Parameter properties
Type: | IAzureContextContainer |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.