Set-VBRHvProductionNetworkOptions

Short Description

Modifies production network options for Hyper-V virtual lab.

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Set-VBRHvProductionNetworkOptions -ProductionNetworkOptions <VBRHvProductionNetworkOptions>

[-ProductionNetwork <VBRHvServerNetworkInfo>] [-UseProductionNetworkVLANID] [-ProductionNetworkVLanID <Int32>] [<CommonParameters>]

Detailed Description

This cmdlet modifies production network options for Hyper-V virtual lab.

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

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ProductionNetwork

Specifies a production network with original VMs. The cmdlet will map VMs from this network to VMs from the isolated network.

Accepts the VBRHvServerNetworkInfo object. To get this object, run the Get-VBRHvServerNetworkInfoReturns virtual networks for a Hyper-V host. cmdlet.

VBRHvServerNetworkInfo

False

Named

False

ProductionNetworkOptions

Specifies options of a production network. The cmdlet will modify settings of this network.

Accepts the VBRHvProductionNetworkOptions object. To create this object, run the New-VBRHvProductionNetworkOptionsDefines production networks options for Hyper-V virtual lab. cmdlet.

VBRHvProductionNetworkOptions

True

Named

False

ProductionNetworkVLanID

Specifies an ID of a production network. The cmdlet will create the production network with the specified ID.

Int32

False

Named

False

UseProductionNetworkVLANID

Defines that the cmdlet will enable a production network VLANID.

SwitchParameter

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 VBRHvProductionNetworkOptions object that defines options of a production network.

Examples

Modifying Production Network Options

This example shows how to modify production network options.

$server = Get-VBRServer -Name "srv01.tech.local"

$network = Get-VBRHvServerNetworkInfo -Server $server

$prod = New-VBRHvProductionNetworkOptions -ProductionNetwork $network[3] -UseProductionNetworkVLANID -ProductionNetworkVLANID "2"

Set-VBRHvProductionNetworkOptions -ProductionNetworkOptions $prod -ProductionNetworkVLANID "3"

Perform the following steps:

  1. Run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify the Name parameter value. Save the result to the $server variable.
  2. Run the Get-VBRHvServerNetworkInfoReturns virtual networks for a Hyper-V host. cmdlet. Set the $server variable as the Server parameter value. Save the result to the $network variable.
  3. Run the New-VBRHvProductionNetworkOptionsDefines production networks options for Hyper-V virtual lab. cmdlet. Specify the ProductionNetwork, UseProductionNetworkVLANID and ProductionNetworkVLANID parameter values. Save the result to the $prod variable.
  4. Run the Set-VBRHvProductionNetworkOptions cmdlet. Set the $prod variable as the ProductionNetworkOptions parameter value. Specify the ProductionNetworkVLANID parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18