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

Enable-VBRHvProxy

Short Description

Enables a Hyper-V backup proxy that was previously disabled.

Applies to

Platform: Hyper-V

For VMware, run Enable-VBRViProxy.

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

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

Detailed Description

This cmdlet enables a Hyper-V backup proxy that was previously disabled.

You can disable a proxy by running Disable-VBRHvProxy.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Proxy

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

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.

Example 1

This command enables all proxies with names starting with "Hyper-V Proxy 1...". The proxies are obtained with Get-VBRHvProxy by filtering with "*" search condition and piped down.

Get-VBRHvProxy -Name "Hyper-V Proxy 1*" | Enable-VBRHvProxy

Example 2

This command enables the Hyper-V proxy represented by the $proxy variable. The needed proxy is obtained with Get-VBRHvProxy and assigned to the variable beforehand.

Enable-VBRHvProxy -Proxy $proxy

Related Commands

Get-VBRHvProxy