Add-VSBVirtualLab (obsolete)
Short Description
Creates a VMware virtual lab.
Note |
|
This cmdlet is obsolete and not supported. Run the |
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
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Datastore |
Specifies the datastore on which redo logs for tested VMs should be stored.
Accepts the |
|
False |
2 |
False |
|
Name |
Specifies the string with the name you want to assign to the virtual lab. |
|
False |
0 |
False |
|
ProductionNetwork |
Specifies the virtual switch connected to the production network.
Accepts the |
False |
Named |
False |
|
|
Server |
Specifies the ESXi host where the virtual lab should be created. |
|
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:
- Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify theNameparameter. Save the result to the$servervariable. - Run the
Find-VBRViDatastoreLooks for VMware datastores. cmdlet. Set the$servervariable as theServerparameter value. Save the result to the$datastorevariable. - Run the
Add-VSBVirtualLabcmdlet. Specify theNameparameter. Set the$servervariable as theServerparameter value. Set the$datastorevariable as theDatastoreparameter value.
Related Commands
Get-VBRServerReturns hosts connected to the backup infrastructure.Find-VBRViDatastoreLooks for VMware datastores.Get-VBRViVirtualSwitchReturns VMware virtual switches.