Short Description
Returns existing public IP addresses.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Requires a VCP license.
Syntax
Get-VBRCloudPublicIP [-Tenant <VBRCloudTenant>] [<CommonParameters>] |
Detailed Description
This cmdlet returns public IP addresses that are configured by the service provider. You can get all configured IP addresses or the IP addresses allocated to a selected user.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Tenant | Specifies the cloud tenant. The cmdlet will return IP addresses assigned to this tenant. Accepts VBRCloudTenant type. | False | Named | True (ByValue, | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Return Type
Example 1
This command returns all configured public IP addresses.
PS C:\PS> Get-VBRCloudPublicIP |
Example 2
This example shows how to return public IP addresses assigned to the ABC company.
- Run Get-VBRCloudTenant to get the needed tenant. Save the result to the $tenant variable.
- Run Get-VBRCloudPublicIP with the saved variable.
PS C:\PS> $tenant = Get-VBRCloudTenant -Name "ABC Company" PS C:\PS> Get-VBRCloudPublicIP -Tenant $tenant |
Related Commands