This is an archive version of the document. To get the most up-to-date information, see the current version.

Get-VBRCloudPublicIP

In this article

    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>]

    Related Commands

    Get-VBRCloudTenant

    Return Type

    VBRCloudIP

    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
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Tenant

    Specifies the cloud user. The cmdlet will return the IP addresses assigned to this user.

    False

    Named

    True (by Value
    FromPipeline, ValueFromPipeline
    ByPropertyName)

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    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.

    1. Run Get-VBRCloudTenant to get the needed tenant. Save the result to the $tenant variable.
    2. Run Get-VBRCloudPublicIP with the saved variable.

    PS C:\PS> $tenant = Get-VBRCloudTenant -Name "ABC Company"

    PS C:\PS> Get-VBRCloudPublicIP -Tenant $tenant