This is an archive version of the document. To get the most up-to-date information, see the current version.

Set-VBRAzureLinuxRestoreAppliance

Short Description

Modifies helper appliances for restoring Linux VMs to Microsoft Azure.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Set-VBRAzureLinuxRestoreAppliance -Appliance <VBRAzureLinuxRestoreAppliance> [-Subscription <VBRAzureSubscription>] [-StorageAccount <VBRAzureStorageAccount>] [-VirtualNetwork <VBRAzureVirtualNetwork>] [-VirtualSubnet <VBRAzureNetworkSubnet>]  [<CommonParameters>]

Detailed Description

This cmdlet modifies helper appliances for restoring Linux VMs to Microsoft Azure.

You will need to further deploy the helper appliance with Deploy-VBRAzureLinuxRestoreAppliance.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Appliance

Specifies the helper appliance you want to modify.

True

Named

True (ByValue,
ByProperty
Name)

False

Subscription

Specifies the Microsoft Azure subscription in which you plan to deploy the helper appliance.

False

Named

True (ByProperty
Name)

False

StorageAccount

Specifies the storage account you want to use to deploy the helper appliance.

False

Named

True (ByProperty
Name)

False

VirtualNetwork

Specifies the virtual network to which you want to connect the helper appliance.

False

Named

True (ByProperty
Name)

False

VirtualSubnet

Specifies the virtual network subnet to which you want to connect the helper appliance.

False

Named

True (ByProperty
Name)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRAzureLinuxRestoreAppliance

Example

This example shows how to set another storage account for a Linux VM restore helper appliance:

  1. Get the Linux helper appliance. Run Get-VBRAzureAccount to get Microsoft Azure account and save it to the $account variable. Run Get-VBRAzureLinuxRestoreAppliance with the $account variable. Select the helper appliance from the list of helper appliances associated with the Azure account. Save the helper appliance to the $appliance variable.
  2. Get the Microsoft Azure storage account you want to use. Run Get-VBRAzureSubscription to get the subscription associated with the storage account you need. Save the subscription to the $subscription variable. Run Get-VBRAzureStorageAccount with the $subscription variable to get the storage account. Save it to the $newstorageaccount variable.
  3. Run Set-VBRAzureLinuxRestoreAppliance with the $apliance and $storageaccount variables.

$account = Get-VBRAzureAccount -Type ResourceManager -Name "RestoreToAzureRM@Veeam.com"

$appliance = Get-VBRAzureLinuxRestoreAppliance -Account $account | Select-Object -First 1

$subscription = Get-VBRAzureSubscription -Account $account -Name "VeeamDirectRestore2Azure"

$newstorageaccount = Get-VBRAzureStorageAccount -Subscription $subscription -Name "VeeamDirectRestore2AzureStorage"

Set-VBRAzureLinuxRestoreAppliance -Appliance $appliance -StorageAccount $newstorageaccount

Related Commands

Get-VBRAzureLinuxRestoreAppliance

Get-VBRAzureSubscription

Get-VBRAzureStorageAccount

Get-VBRAzureVirtualNetwork

VBRAzureNetworkSubnet