Add-VBRHvAdvancedVirtualLab

Short Description

Creates a Hyper-V advanced virtual lab.

Applies to

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

Syntax

Add-VBRHvAdvancedVirtualLab -Server <CHost> [-Name <string>] [-Description <string>] [-Path <string>] [-ProxyAppliance <VBRHvVirtualLabProxyAppliance>] [-IsolatedNetworkOptions <VBRHvIsolatedNetworkOptions[]>] [-EnableRoutingBetweenvNics] [-StaticIPMappingRule <VBRHvVirtualLabStaticIPMappingRule[]>]  [<CommonParameters>]

Detailed Description

This cmdlet creates a Hyper-V advanced virtual lab.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Server

Specifies a Microsoft Hyper-V host. The cmdlet will create a virtual lab on this host.

Accepts the CHost object. To get this object, run the Get-VBRServer cmdlet.

True

Named

False

Name

Specifies a name. The cmdlet will create a virtual lab with this name.

String

False

Named

False

Description

Specifies a description. The cmdlet will create a virtual lab with this description.

String

False

Named

False

Path

Specifies the path to the folder where virtual lab will be stored.

String

False

Named

False

ProxyAppliance

Specifies a proxy appliance. The cmdlet will add this proxy appliance to a virtual lab.

Accepts the VBRHvVirtualLabProxyAppliance object. To get this object, run the New-VBRHvVirtualLabProxyAppliance cmdlet.

False

Named

False

IsolatedNetworkOptions

Specifies network settings of an isolated network. The cmdlet will create a virtual lab with the specified network settings.

Accepts the VBRHvIsolatedNetworkOptions[] object. To get this object, run the New-VBRHvIsolatedNetworkOptions cmdlet.

False

Named

False

EnableRoutingBetweenvNics

Defines that the cmdlet will enable communication between isolated networks.

If you provide this parameter, the cmdlet will enable communication between isolated networks. Otherwise, Veeam Backup & Replication will not be able to connect the isolated networks with production networks.

SwitchParamter

False

Named

False

StaticIPMappingRule

Specifies static IP address mapping rules. The cmdlet will create a virtual lab with the specified mapping rules.

Accepts the VBRHvVirtualLabStaticIPMappingRule[] object. To get this object, run the New-VBRHvVirtualLabStaticIPMappingRule cmdlet.

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 VBRVirtualLab object that contains settings of advanced Hyper-V virtual labs.

Examples

Creating Advanced Virtual Lab

This example shows how to create an advanced virtual lab with default settings. The cmdlet will create the virtual lab on the esx09 host.

$host = Get-VBRServer -Name "esx09"

Add-VBRHvAdvancedVirtualLab -Server $host -Name "Exchange Lab" -Description "Virtual Lab for Exchange VMs"

Perform the following steps:

  1. Run the Get-VBRServer cmdlet. Specify the Name parameter value. Save the result to the $host variable.
  2. Run the Add-VBRHvAdvancedVirtualLab cmdlet. Set the $host variable as the Server parameter value. Specify the Name parameter value. Specify the Description parameter value.

Related Commands

Get-VBRServer

Page updated 4/30/2024

Page content applies to build 12.2.0.334