Set-VBRHvInstantRecoveryHelperAppliance
Short Description
Modifies settings for a helper appliance.
Platform: Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRHvInstantRecoveryHelperAppliance -HelperAppliance <VBRHvInstantRecoveryHelperAppliance> [-Network <VBRHvServerNetworkInfo>] [-VLanID <Int32>] [-EnableIPv4Interface] [-ObtainIPAutomatically] [-IpAddress <IPAddress>] [-SubnetMask <IPAddress>] [-DefaultGateway <IPAddress>] [-ObtainDNSAutomatically] [-PreferredDNSServer <IPAddress>] [-AlternateDNSServer <IPAddress>] [-EnableIPv6Interface] [-ObtainIPv6AddressAutomatically] [-IPv6Address <IPAddress>] [-IPv6PrefixLength <Int32>] [-IPv6DefaultGateway <IPAddress>] [-ObtainIPv6DNSAutomatically] [-IPv6PreferredDNSServer <IPAddress>] [-IPv6AlternateDNSServer <IPAddress>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of a helper appliance used in Instant Recovery to Microsoft Hyper-V.
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 the IPv4 address of an alternate DNS server in the network where the appliance resides. |
|
False |
Named |
False |
|
DefaultGateway |
Specifies the IPv4 address of the default gateway in the network where the appliance resides. |
|
False |
Named |
False |
|
EnableIPv4Interface |
Enables the option to use IPv4 addresses. IPv4 is used by default. |
|
False |
Named |
False |
|
EnableIPv6Interface |
Enables the option to use IPv6 addresses. |
|
False |
Named |
False |
|
HelperAppliance |
Specifies a helper appliance which settings you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
IpAddress |
For the Specifies the IPv4 address of the helper appliance. |
|
False |
Named |
False |
|
IPv6Address |
For the If you provide this parameter Veeam Backup & Replication will use IPv6 addresses. |
|
False |
Named |
False |
|
IPv6AlternateDNSServer |
For the Specifies the IPv6 address of the alternate DNS server in the network where the appliance resides. |
|
False |
Named |
False |
|
IPv6DefaultGateway |
For the Specifies the IPv6 address of the default gateway in the network where the appliance resides. |
|
False |
Named |
False |
|
IPv6PreferredDNSServer |
For the Specifies the IPv6 address of the DNS server in the network where the appliance resides. |
|
False |
Named |
False |
|
IPv6PrefixLength |
For the Specifies the length of the IPv6 prefix. |
|
False |
Named |
False |
|
Network |
Specifies an array of production networks to which the helper appliance must be connected.
Accepts the |
False |
Named |
False |
|
|
ObtainDNSAutomatically |
Use if you have a DHCP server in the network. If you provide this parameter, Veeam Backup & Replication will obtain an IPv4 address of the DNS server automatically. |
|
False |
Named |
False |
|
ObtainIPAutomatically |
Use if you have a DHCP server in the network. If you provide this parameter, Veeam Backup & Replication will obtain an IP address of the helper appliance automatically. |
|
False |
Named |
False |
|
ObtainIPv6AddressAutomatically |
Use if you have a DHCP server in the network. If you provide this parameter, Veeam Backup & Replication will obtain an IPv6 address of the helper appliance automatically. |
|
False |
Named |
False |
|
ObtainIPv6DNSAutomatically |
For the Use if you have a DHCP server in the network. If you provide this parameter, Veeam Backup & Replication will obtain an IPv6 address of the DNS server automatically. |
|
False |
Named |
False |
|
PreferredDNSServer |
Specifies the IPv4 address of the DNS server in the network where the appliance resides. |
|
False |
Named |
False |
|
SubnetMask |
Specifies the subnet mask of the network where the helper appliance will be connected. |
|
False |
Named |
False |
|
VLanID |
Specifies the VLAN ID where the helper appliance must reside. |
|
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 VBRHvInstantRecoveryHelperAppliance object that defines helper appliance settings.
Examples
Change IP address settings of a helper appliance
This example shows how to modify IP address settings for a helper appliance.
|
$network = Get-VBRHvServerNetworkInfo -Server "srv01.tech.local" $appliance = New-VBRHvInstantRecoveryHelperAppliance -Network $network Set-VBRHvInstantRecoveryHelperAppliance -HelperAppliance $appliance -ObtainIPAutomatically |
Perform the following steps:
- Run the
Get-VBRHvServerNetworkInfoReturns virtual networks for a Hyper-V host. cmdlet. Specify theServerparameter. Save the result to the$networkvariable. - Run the
New-VBRHvInstantRecoveryHelperApplianceDefines settings for a helper appliance. cmdlet. Set the$networkvariable as theNetworkparameter value. Save the result to the$appliancevariable. - Run the
Set-VBRHvInstantRecoveryHelperAppliancecmdlet. Set the$appliancevariable as theHelperApplianceparameter value. Provide theObtainIPAutomaticallyparameter.