Add-VSBVirtualLab (obsolete)

Short Description

Creates a VMware virtual lab.

Note

This cmdlet is obsolete and not supported. Run the Add-VBRApplicationGroupCreates application groups for SureBackup jobs. cmdlet instead.

Platform: VMware

For Hyper-V, run the Add-VSBHvVirtualLabCreates a Hyper-V virtual lab. This cmdlet is obsolete and not supported. Run the Add-VBRApplicationGroup cmdlet instead. cmdlet.

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Add-VSBVirtualLab [[-Name] <String>] [[-Server] <CHost>] [[-Datastore] <CViDatastoreItem>]

[-ProductionNetwork <VBRViVirtualSwitch>] [<CommonParameters>]

Detailed Description

This cmdlet creates a new VMware virtual lab.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

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-VBRViDatastoreLooks for VMware datastores. cmdlet.

CViDatastoreItem

False

2

False

Name

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

String

False

0

False

ProductionNetwork

Specifies the virtual switch connected to the production network.

Accepts the VBRViVirtualSwitch object. To get this object, run the Get-VBRViVirtualSwitchReturns VMware virtual switches. cmdlet.

VBRViVirtualSwitch

False

Named

False

Server

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

CHost

False

1

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-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify the Name parameter. Save the result to the $server variable.
  2. Run the Find-VBRViDatastoreLooks for VMware datastores. 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.

Page updated 2026-08-19

Page content applies to build 13.1.1.18