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

Disable-VBRHvProxy

In this article

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

    Related Commands

    Get-VBRHvProxy

    Detailed Description

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

    You can enable the poxy at any time by running Enable-VBRHvProxy.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Proxy

    Specifies the Hyper-V backup proxy you want to disable.

    You can assign multiple proxies to this object.

    True

    Named

    True (ByValue,
    ByProperty
    Name)

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