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

Set-VBRLocation

Short Description

Modifies geographical locations in Veeam Backup & Replication.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Set-VBRLocation -Location <VBRLocation> -Name <string> [-PassThru]  [<CommonParameters>]

Detailed Description

This cmdlet modifies settings of a geographical location created in Veeam Backup & Replication.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Location

Specifies the location you want to modify.

True

Named

True (ByValue,
ByProperty
Name)

False

Name

Specifies the name you want to assign to the location.

The maximum length of the location name is 255 characters.

True

Named

True (ByProperty
Name)

False

PassThru

Indicates that the command returns the output object to the Windows PowerShell console.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Example

This example shows how to change the geographical location name.

You will need to perform the following steps:

  1. Run Get-VBRLocation to get the location whose name you want to change. Save the result to the $location variable.
  2. Run Set-VBRLocation with the $location variable.

$location = Get-VBRLocation -Name "ABC North"

Set-VBRLocation -Location $location -Name "Central"

Related Commands

Get-VBRLocation