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

Enable-VBRHvProxy

In this article

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

    Related Commands

    Get-VBRHvProxy

    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 then object of the Hyper-V backup proxy you want to enable.

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