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.
You can enable the proxy at any time by running Enable-VBRHvProxy.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Proxy | Specifies the array of Hyper-V proxies you want to disable. | True | Named | True (ByValue, | 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.
PS C:\PS> 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.
PS C:\PS> Disable-VBRHvProxy -Proxy $proxy |
Related Commands