Add-VSBVirtualLab (obsolete)

Short Description

Creates a VMware virtual lab.

Note

This cmdlet is obsolete and not supported. Run the Add-VBRApplicationGroup cmdlet instead.

Applies to

Platform: VMware

For Hyper-V, run the Add-VSBHvVirtualLab cmdlet.

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Add-VSBVirtualLab -Name <string> -Server <CHost> -Datastore <CViDatastoreItem> [-ProductionNetwork]  [<CommonParameters>]

Detailed Description

This cmdlet creates a new VMware virtual lab.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Name

Specifies the string with the name you want to assign to the virtual lab.

String

True

1

False

Server

Specifies the ESXi host where the virtual lab should be created.

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

True

2

False

Datastore

Specifies the datastore on which redo logs for tested VMs should be stored.

Accepts the CViDatastoreItem object. To get this object, run the Find-VBRViDatastore cmdlet.

True

3

False

ProductionNetwork

Specifies the virtual switch connected to the production network.

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

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Creating Virtual Lab

This example shows how to create a new virtual lab named Exchange VLab 01.

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

$datastore = Find-VBRViDatastore -Server $server

Add-VSBVirtualLab -Name "Exchange VLab 01" -Server $server -Datastore $datastore

Perform the following steps:

  1. Run the Get-VBRServer cmdlet. Specify the Name parameter. Save the result to the $server variable.
  2. Run the Find-VBRViDatastore cmdlet. Set the $server variable as the Server parameter value. Save the result to the $datastore variable.
  3. Run the Add-VSBVirtualLab cmdlet. Specify the Name parameter. Set the $server variable as the Server parameter value. Set the $datastore variable as the Datastore parameter value.

Related Commands

Page updated 3/11/2024

Page content applies to build 12.3.0.310