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

Get-VBRHvReplicaReIpRule

In this article

    Short Description

    Returns Hyper-V job re-IP rules.

    Applies to

    Platform: Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus

    Syntax

    Get-VBRHvReplicaReIpRule -Job <CBackupJob>  [<CommonParameters>]

    Related Commands

    Get-VBRJob

    Detailed Description

    This cmdlet returns the list of re-IP rules configured for a selected Hyper-V replication job.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Job

    Specifies the replication job for which you want to get the list of the re-IP rules.

    Accepts CBackupJob object.

    True

    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 looks for the re-IP rules set for the 'Backup Copy Job 1' job. The job is obtained with Get-VBRJob and piped down.

    PS C:\PS> Get-VBRJob -Name "Backup Copy Job 1" | Get-VBRHvReplicaReIpRule

    Example 2

    This command looks for the re-IP rules set for the job represented by the '$job' variable. The job is obtained with Get-VBRJob and assigned to the variable beforehand.

    PS C:\PS> Get-VBRHvReplicaReIpRule -Job $job