< Back
Test-AzureRecoveryServicesVaultUpgrade
Post
NAME Test-AzureRecoveryServicesVaultUpgrade
SYNOPSIS
Checks for Vault Upgrade prerequisites.
SYNTAX
Test-AzureRecoveryServicesVaultUpgrade -ResourceType <string> -VaultName <string> -Location <string> -TargetResourceGroupName <string>
[<CommonParameters>]
DESCRIPTION
The Test-AzureRecoveryServicesVaultUpgrade cmdlet checks for vault upgrade prerequisites. This includes check for active jobs, agent versions,
deployment scenarios, supported configurations. For backup vaults, this check also verifies the billing model.
PARAMETERS
-ResourceType <string>
The type of vault, expected value is 'HyperVRecoveryManagerVault' for Site Recovery vaults and 'BackupVault' for backup vaults.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VaultName <string>
Name of the vault that is to be upgraded.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Location <string>
The location of the vault. For eg: 'West US', 'East US' etc.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-TargetResourceGroupName <string>
The Resource Group into which the upgraded vault will be placed.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- EXAMPLE 1 --------------------------
C:\\PS>PS C:\\> Test-AzureRecoveryServicesVaultUpgrade -ResourceType HyperVRecoveryManagerVault -VaultName ContosoVault -Location 'West US'
-TargetResourceGroupName ContosoRG
Response
--------
Successfully completed prerequisites check for vault upgrade.
This command checks if Site Recovery vault with name 'ContosoVault' in region 'West US' with target resource group name 'ContosoRG' is ready to be
upgraded to 'Recovery Services vault'.
The output represents status with errors if any along with RequestId with which user can contact support.
-------------------------- EXAMPLE 2 --------------------------
C:\\PS>PS C:\\> Test-AzureRecoveryServicesVaultUpgrade -ResourceType BackupVault -VaultName ContosoVault -Location 'West US' -TargetResourceGroupName
ContosoRG
Response
--------
Successfully completed prerequisites check for vault upgrade.
This command checks if Backup vault with name 'ContosoVault' in region 'West US' with target resource group name 'ContosoRG' is ready to be upgraded to
'Recovery Services vault'.
The output represents status with errors if any along with RequestId with which user can contact support.
RELATED LINKS
SYNOPSIS
Checks for Vault Upgrade prerequisites.
SYNTAX
Test-AzureRecoveryServicesVaultUpgrade -ResourceType <string> -VaultName <string> -Location <string> -TargetResourceGroupName <string>
[<CommonParameters>]
DESCRIPTION
The Test-AzureRecoveryServicesVaultUpgrade cmdlet checks for vault upgrade prerequisites. This includes check for active jobs, agent versions,
deployment scenarios, supported configurations. For backup vaults, this check also verifies the billing model.
PARAMETERS
-ResourceType <string>
The type of vault, expected value is 'HyperVRecoveryManagerVault' for Site Recovery vaults and 'BackupVault' for backup vaults.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VaultName <string>
Name of the vault that is to be upgraded.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Location <string>
The location of the vault. For eg: 'West US', 'East US' etc.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-TargetResourceGroupName <string>
The Resource Group into which the upgraded vault will be placed.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- EXAMPLE 1 --------------------------
C:\\PS>PS C:\\> Test-AzureRecoveryServicesVaultUpgrade -ResourceType HyperVRecoveryManagerVault -VaultName ContosoVault -Location 'West US'
-TargetResourceGroupName ContosoRG
Response
--------
Successfully completed prerequisites check for vault upgrade.
This command checks if Site Recovery vault with name 'ContosoVault' in region 'West US' with target resource group name 'ContosoRG' is ready to be
upgraded to 'Recovery Services vault'.
The output represents status with errors if any along with RequestId with which user can contact support.
-------------------------- EXAMPLE 2 --------------------------
C:\\PS>PS C:\\> Test-AzureRecoveryServicesVaultUpgrade -ResourceType BackupVault -VaultName ContosoVault -Location 'West US' -TargetResourceGroupName
ContosoRG
Response
--------
Successfully completed prerequisites check for vault upgrade.
This command checks if Backup vault with name 'ContosoVault' in region 'West US' with target resource group name 'ContosoRG' is ready to be upgraded to
'Recovery Services vault'.
The output represents status with errors if any along with RequestId with which user can contact support.
RELATED LINKS