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

Disable-VBRHvProxy

Short Description

Disables a Hyper-V backup proxy.

Applies to

Platform: Hyper-V

For VMware, run Disable-VBRViProxy.

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

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

Detailed Description

This cmdlet allows you to disable a Hyper-V backup proxy. The disabled proxy is not used by any job.

Run the Enable-VBRHvProxy.cmdlet to enable a Hyper-V backup proxy.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Proxy

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

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 disables the selected Hyper-V proxy. The needed proxy object is obtained with Get-VBRHvProxy by selecting the proxy with name containing "Hyper-V" and piped down.

Get-VBRHvProxy -Name *Hyper-V* | Disable-VBRHvProxy

Example 2

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

Disable-VBRHvProxy -Proxy $proxy

Related Commands

Get-VBRHvProxy