Enable-VBRHvProxy

Short Description

Enables the disabled Hyper-V backup proxy.

Applies to

Platform: Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Enable-VBRHvProxy -Proxy <CHvProxy[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>]  [<CommonParameters>]

Detailed Description

This cmdlet enables the disabled Hyper-V backup proxy.

Run the Disable-VBRHvProxy cmdlet to disable the Hyper-V backup proxy.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Proxy

Specifies an array of Hyper-V proxies you want to enable.

Accepts the CHvProxy[] object. To get this object, run the Get-VBRHvProxy cmdlet.

True

Named

True (ByValue,
ByProperty
Name)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

The cmdlet returns the CHvProxy[] that contains an array of Hyper-V backup proxy servers added to the backup infrastructure.

Examples

Enable-VBRHvProxyExample 1. Enabling Hyper-V Backup Proxy [Using Variable]

This example shows how to enable the Hyper-V backup proxy named Local Backup Proxy.

$proxy = Get-VBRHvProxy -Name "Local Backup Proxy"

Enable-VBRHvProxy -Proxy $proxy

Perform the following steps:

  1. Run the Get-VBRHvProxy cmdlet. Specify the Name parameter value. Save the result to the $proxy variable.
  2. Run the Enable-VBRHvProxy cmdlet. Set the $proxy variable as the Proxy parameter value

Enable-VBRHvProxyExample 2. Enabling Hyper-V Backup Proxy [Using Pipeline]

This example shows how to enable the Hyper-V backup proxy named VMware Backup Proxy 01.

Get-VBRHvProxy -Name "VMware Backup Proxy 01" | Enable-VBRViProxy

Perform the following steps:

  1. Run the Get-VBRHvProxy cmdlet. Specify the Name parameter value.
  2. Pipe the cmdlet output to the Enable-VBRHvProxy cmdlet.

Related Commands

Get-VBRHvProxy