This is an archive version of the document. To get the most up-to-date information, see the current version.

Add-VSBVirtualLab

In this article

    Short Description

    Creates a VMware virtual lab.

    Applies to

    Platform: VMware

    For Hyper-V, run Add-VSBHvVirtualLab.

    Product Edition: Enterprise, Enterprise Plus

    Syntax

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

    Related Commands

    Get-VBRServer

    Find-VBRViDatastore

    Get-VBRViVirtualSwitch

    Detailed Description

    This cmdlet creates a new VMware virtual lab.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Name

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

    True

    1

    False

    False

    Server

    Specifies the ESX(i) host where the virtual lab should be created.

    True

    2

    False

    False

    Datastore

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

    True

    3

    False

    False

    Production
    Network

    Specifies the virtual switch connected to the production network.

    Accepts VBRViVirtualSwitch object.

    False

    Named

    False

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    Example

    This command creates a new virtual lab named "Exchange VLab 01". The server where the virtual lab will be located is obtained with Get-VBRServer and assigned to the $server variable beforehand. The datastore to store the redo files is obtained with Find-VBRViDatastore and assigned to the $datastore variable beforehand.

    PS C:\PS> Add-VSBVirtualLab -Name "Exchange VLab 01" -Server $server -Datastore $datastore