Set-VBRLocation
Short Description
Modifies geographic locations in Veeam Backup & Replication.
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 geographic location created in Veeam Backup & Replication.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Location |
Specifies the location you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Name |
Specifies the name you want to assign to the location. The maximum length of the location name is 255 characters. |
|
True |
Named |
True (ByPropertyName) |
|
PassThru |
Defines that the command returns the output object to the Windows PowerShell console. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRLocation object that contains the geographic location.
Examples
Changing Geographic Location Name
This example shows how to change the geographic location name.
|
$location = Get-VBRLocation -Name "ABC North" Set-VBRLocation -Location $location -Name "Central" |
Perform the following steps:
- Run the
Get-VBRLocationReturns geographic locations created in Veeam Backup & Replication. cmdlet. Specify theNameparameter value. Save the result to the$locationvariable. - Run the
Set-VBRLocationcmdlet. Set the$locationvariable as theLocationparameter value. Specify theNameparameter value.
Related Commands
Get-VBRLocationReturns geographic locations created in Veeam Backup & Replication.