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

Get-VBRHvReplicaReIpRule

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

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.

True

Named

True (ByValue,
ByProperty
Name)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

VBRHvReplicaReIpRule

Example

This command looks for the re-IP rules set for a replication job.

  1. Run Get-VBRJob to get the replication job and save it to the $job variable.
  2. Run Get-VBRHvReplicaReIpRule. Use the $job variable.

Get-VBRJob -Name "Backup Copy Job 1"

Get-VBRHvReplicaReIpRule -Job $job

Related Commands

Get-VBRJob