Add-VSBVirtualLab
Short Description
Creates a VMware virtual lab.
|
This cmdlet is deprecated and will be marked as obsolete in the future. It is recommended to re-write your scripts using the Add-VBRViAdvancedVirtualLab and Add-VBRViSimpleVirtualLab cmdlets. |
Applies to
Platform: VMware
For Hyper-V, run Add-VSBHvVirtualLab.
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
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 ESXi 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 |
ProductionNetwork | Specifies the virtual switch connected to the production network. Accepts VBRViVirtualSwitch type. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
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.
Related Commands