Returns geographical locations created in Veeam Backup & Replication.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
This cmdlet provides parameter sets that allow you to:
- Get locations by name.
Get-VBRLocation [-Name <string>] [<CommonParameters>]
- Get locations by ID.
Get-VBRLocation [-Id <guid>] [<CommonParameters>]
- Get locations assigned to the backup infrastructure component.
Get-VBRLocation [-Object <Object>] [<CommonParameters>]
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.
Specifies the array of location names.
The cmdlet will return locations with these names.
Specifies the array of location IDs.
The cmdlet will return locations with these IDs.
Specifies the Veeam Backup & Replication infrastructure component.
The cmdlet will return a location assigned to this component.
Accepts the following objects:
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
The cmdlet returns the VBRLocation object that lists geographical locations created in Veeam Backup & Replication.
Example 1. Getting Locations by Name
This command returns locations by name.
Example 2. Getting Locations by ID
This command returns locations by ID.
Example 3. Getting Location Assigned to ESXi Host
This example shows how to get the location assigned to the ESXi host.
Perform the following steps: