Set-VBRHvVirtualLabProxyAppliance
Short Description
Modifies settings of proxy appliances for Hyper-V virtual lab.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRHvVirtualLabProxyAppliance -ProxyAppliance <VBRHvVirtualLabProxyAppliance> [-Network <VBRHvServerNetworkInfo>] [-VLanID <Int32>] [-EnableIPv4Interface] [-ObtainIPAutomatically] [-IPAddress <IPAddress>] [-SubnetMask <String>] [-DefaultGateway <IPAddress>] [-ObtainDNSAutomatically] [-PreferredDNSServer <IPAddress>] [-AlternateDNSServer <IPAddress>] [-EnableIPv6Interface] [-ObtainIPv6AddressAutomatically] [-IPv6Address <IPAddress>] [-IPv6PrefixLength <Int32>] [-IPv6DefaultGateway <IPAddress>] [-ObtainIPv6DNSAutomatically] [-IPv6PreferredDNSServer <IPAddress>] [-IPv6AlternateDNSServer <IPAddress>] [-HTTPPort <Int32>] [-ProductionProxyIPAddress <IPAddress>] [-EnableInternetProxy] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of Hyper-V virtual lab proxy appliances.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AlternateDNSServer |
Specifies an IPv4 address of an alternate DNS server. |
|
False |
Named |
False |
|
DefaultGateway |
Specifies an IPv4 address of a default gateway. The cmdlet will assign this IP address to a default gateway on a proxy appliance. |
|
False |
Named |
False |
|
EnableInternetProxy |
Defines that a proxy appliance will act as an internet proxy for VMs in the isolated network. If you provide this parameter, a proxy appliance will act as an internet proxy for VMs in the isolated network. Otherwise, VMs from the isolated network will not have access to the Internet. |
|
False |
Named |
False |
|
EnableIPv4Interface |
Defines that IPv4 interface will be enabled. |
|
False |
Named |
False |
|
EnableIPv6Interface |
Defines that IPv6 interface will be enabled. |
|
False |
Named |
False |
|
HTTPPort |
Specifies the port number. VMs from the isolated network will use this port number to access the Internet. Default: 8080. |
|
False |
Named |
False |
|
IPAddress |
Specifies an IPv4 address for a proxy appliance in the production network. The cmdlet will assign this IP address to a proxy appliance. |
|
False |
Named |
False |
|
IPv6Address |
Specifies an IPv6 address for a proxy appliance in the production network. The cmdlet will assign this IP address to a proxy appliance. |
|
False |
Named |
False |
|
IPv6AlternateDNSServer |
Specifies an IPv6 address of an alternate DNS server. |
|
False |
Named |
False |
|
IPv6DefaultGateway |
Specifies an IPv6 address of a default gateway. The cmdlet will assign this IP address to a default gateway on a proxy appliance. |
|
False |
Named |
False |
|
IPv6PreferredDNSServer |
Specifies an IPv6 address of a preferred DNS server. |
|
False |
Named |
False |
|
IPv6PrefixLength |
Specifies a prefix length for a proxy appliance in the production network. The cmdlet will set up network settings of a proxy appliance with this prefix length. |
|
False |
Named |
False |
|
Network |
Specifies the production network. The cmdlet will connect a proxy appliance to the specified network.
Accepts the |
False |
Named |
False |
|
|
ObtainDNSAutomatically |
Defines that a proxy appliance will obtain DNS server settings automatically. If you provide this parameter, Veeam Backup & Replication will obtain IPv4 DNS server settings for the proxy appliance automatically. Otherwise, you will need to set the DNS server settings manually. |
|
False |
Named |
False |
|
ObtainIPAutomatically |
Defines that a proxy appliance will obtain an IPv4 address automatically. If you provide this parameter, Veeam Backup & Replication will obtain an IP address for the proxy appliance automatically. Otherwise, you will need to set the IP address manually. |
|
False |
Named |
False |
|
ObtainIPv6AddressAutomatically |
Defines that a proxy appliance will obtain an IPv6 address automatically. If you provide this parameter, Veeam Backup & Replication will obtain an IP address for the proxy appliance automatically. Otherwise, you will need to set the IP address manually. |
|
False |
Named |
False |
|
ObtainIPv6DNSAutomatically |
Defines that a proxy appliance will obtain IPv6 DNS server settings automatically. If you provide this parameter, Veeam Backup & Replication will obtain DNS server settings for the proxy appliance automatically. Otherwise, you will need to set the DNS server settings manually. |
|
False |
Named |
False |
|
PreferredDNSServer |
Specifies an IPv4 address of a preferred DNS server. |
|
False |
Named |
False |
|
ProductionProxyIPAddress |
Specifies an IP address or a fully qualified domain name of an Internet-facing proxy server that VMs from the isolated network must use to access the Internet. |
|
False |
Named |
False |
|
ProxyAppliance |
Specifies a proxy appliance that you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
SubnetMask |
Specifies a subnet mask for a proxy appliance in the production network. The cmdlet will set up network settings of a proxy appliance with this subnet mask. |
|
False |
Named |
False |
|
VLanID |
Specifies an ID of an isolated network. The cmdlet will create the isolated network with the specified ID. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRHvVirtualLabProxyAppliance object that defines settings of proxy appliances that are added to the Hyper-V virtual lab.
Examples
Enabling IPv6 Interface for Proxy Appliance
This example shows how to enable IPv6 interface for the proxy appliance named Proxy_appliance_05. The proxy appliance will have both IPv4 and IPv6 interfaces enabled.
|
$host = Get-VBRServer -Name "esx09.tech.local" $network = Get-VBRHvServerNetworkInfo -Server $host $proxyapp = New-VBRHvVirtualLabProxyAppliance -Server $host -EnableIPv4Interface -ObtainIPAutomatically -ObtainDNSAutomatically -Name "Proxy_appliance_05" -Network $network[3] Set-VBRHvVirtualLabProxyAppliance -ProxyAppliance $proxyapp -EnableIPv6Interface -ObtainIPv6AddressAutomatically -ObtainIPv6DNSAutomatically |
Perform the following steps:
- Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$hostvariable. - Run the
Get-VBRHvServerNetworkInfoReturns virtual networks for a Hyper-V host. cmdlet. Set the$hostvariable as theServerparameter value. Save the result to the$networkvariable. - Run the
New-VBRHvVirtualLabProxyApplianceDefines settings of proxy appliances. cmdlet. Specify theServer,EnableIPv4Interface,ObtainIPAutomatically,ObtainDNSAutomatically,NameandNetworkparameter values. Save the result to the$proxyappvariable. - Run the
Set-VBRHvVirtualLabProxyAppliancecmdlet. Specify the following settings:- Set the
$proxyappvariable as theProxyApplianceparameter value. - Provide the
EnableIPv6Interfaceparameter. - Provide the
ObtainIPv6AddressAutomaticallyparameter. - Provide the
ObtainIPv6DNSAutomaticallyparameter.
- Set the
Related Commands
Get-VBRServerReturns hosts connected to the backup infrastructure.Get-VBRHvServerNetworkInfoReturns virtual networks for a Hyper-V host.New-VBRHvVirtualLabProxyApplianceDefines settings of proxy appliances.