Get-VBRLocation
Short Description
Returns geographical locations created in Veeam Backup & Replication.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides 3 parameter sets.
- For getting locations by name:
- For getting locations by ID:
- For getting locations assigned to the backup infrastructure component:
Detailed Description
This cmdlet returns geographical locations created in Veeam Backup & Replication. You can get the list of all locations or search for instances directly by name, ID or associated infrastructure components.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
Name | Specifies the array of location names. The cmdlet will return locations with these names. | True | Named | True (ByProperty | True |
Id | Specifies the array of location IDs. The cmdlet will return locations with these IDs. | True | Named | True (ByProperty | False |
Object | Specifies the Veeam Backup & Replication infrastructure component. The cmdlet will return a location assigned to this component. Accepts the following types:
| True | Named | True (ByProperty | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Example 1
This command returns locations by name.
Example 2
This command returns locations by ID.
Example 3
This example shows how to get the location assigned to the ESXi host.
You will need to perform the following steps:
- Run Find-VBRViEntity to get the ESXi host added to Veeam Backup & Replication. Save the result to the $esxi variable.
- Run Get-VBRLocation with the $esxi variable.
Related Commands