< Back

Invoke-AzureRecoveryServicesVaultUpgrade

Wed Jan 30, 2019 5:47 pm

NAME Invoke-AzureRecoveryServicesVaultUpgrade



SYNOPSIS

Upgrades the specified vault (Site Recovery vault or Backup vault) to 'Recovery Services vault'.





SYNTAX

Invoke-AzureRecoveryServicesVaultUpgrade -ResourceType <string> -VaultName <string> -Location <string> -TargetResourceGroupName <string> [-Force]

[<CommonParameters>]





DESCRIPTION

The Invoke-AzureRecoveryServicesVaultUpgrade cmdlet starts the upgrade of the specified vault (Site Recovery vault or Backup vault) to 'Recovery

Services vault'.





PARAMETERS

-ResourceType <string>

The type of vault, expected values are '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



-Force [<SwitchParameter>]

Specify this to bypass the confirm action and take the default (Y).



Required? false

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:\\> Invoke-AzureRecoveryServicesVaultUpgrade -ResourceType HyperVRecoveryManagerVault -VaultName ContosoVault -Location 'West US'

-TargetResourceGroupName ContosoRG



OperationId : cc627bbc-f9c6-47f7-a2ac-3c499e1aae83-2017-03-31 09:33:01Z-P

StartTimeUtc : 3/31/2017 3:03:05 PM

OperationResult : Succeeded

OperationStatus : Completed

UpgradeStatus : HyperVRecoveryManagerVault 'ContosoVault' has been successfully upgraded to Recovery Services vault and is now accessible

through the new Azure portal at http://portal.azure.com.



This command starts vault upgrade of a Site Recovery vault with name 'ContosoVault' in region 'West US' with target resource group name 'ContosoRG'.











-------------------------- EXAMPLE 2 --------------------------



C:\\PS>PS C:\\> Invoke-AzureRecoveryServicesVaultUpgrade -ResourceType BackupVault -VaultName ContosoVault -Location 'West US' -TargetResourceGroupName

ContosoRG



OperationId : bb627bbc-f9c6-47f7-a2ac-3c499e1aae83-2017-03-31 09:37:01Z-P

StartTimeUtc : 3/31/2017 3:10:05 PM

OperationResult : Succeeded

OperationStatus : Completed

UpgradeStatus : BackupVault 'ContosoVault' has been successfully upgraded to Recovery Services vault and is now accessible through the new

Azure portal at http://portal.azure.com.



This command starts vault upgrade of a Backup vault with name 'ContosoVault' in region 'West US' with target resource group name 'ContosoRG'.











RELATED LINKS