Add-VSBVirtualLab
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
Detailed Description
This cmdlet creates a new VMware virtual lab.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
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 | 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.