Set-VBRLocation
Short Description
Modifies geographic 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 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 |
---|---|---|---|---|---|
Location | Specifies the location you want to modify. | Accepts the VBRLocation object. To get this object, run the Get-VBRLocation cmdlet. | True | Named | True (ByValue, |
Name | Specifies the name you want to assign to the location. The maximum length of the location name is 255 characters. | String | True | Named | True (ByProperty |
PassThru | Defines that the command returns the output object to the Windows PowerShell console. | SwitchParameter | 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-VBRLocation cmdlet. Specify the Name parameter value. Save the result to the $location variable.
- Run the Set-VBRLocation cmdlet. Set the $location variable as the Location parameter value. Specify the Name parameter value.
Related Commands