Remove-VBRVirtualLab
Short Description
Removes virtual labs from Veeam Backup & Replication.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Remove-VBRVirtualLab -VirtualLab <VBRVirtualLab[]> [-FromHost] [-WhatIf] [-Confirm] [<CommonParameters>]  | 
Detailed Description
This cmdlet removes virtual labs from Veeam Backup & Replication.
Parameters
Parameter  | Description  | Type  | Required  | Position  | Accept Pipeline Input  | 
|---|---|---|---|---|---|
VirtualLab  | Specifies a virtual lab. The cmdlet will remove this virtual lab from the Veeam Backup & Replication infrastructure.  | Accepts the VBRVirtualLab[] object. To get this object, run the Get-VBRVirtualLab cmdlet.  | True  | 0  | True (ByValue,  | 
FromHost  | Defines that the cmdlet will remove virtual lab from Veeam Backup & Replication and VMware infrastructure. If you specify this parameter, the cmdlet will remove a virtual lab from both Veeam Backup & Replication and VMware infrastructures. Otherwise, the cmdlet will remove the virtual lab from the VMware infrastructure only.  | SwitchParamter  | False  | Named  | False  | 
WhatIf  | Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action.  | SwitchParamter  | False  | Named  | False  | 
Confirm  | Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue. Note: Microsoft PowerShell enables the Confirm parameter for this cmdlet by default. To disable this option, set the parameter value to $false. That is, Confirm:$false.  | SwitchParamter  | False  | Named  | False  | 
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Removing Virtual Lab from Veeam Backup & Replication
This example shows how to remove the Exchange 01 virtual lab from Veeam Backup & Replication. 
 Perform the following steps: 
  | 
Example 2. Removing Virtual Lab from Veeam Backup & Replication
 and VMware Infrastructure
This example shows how to remove the SQL07 virtual lab from Veeam Backup & Replication and the VMware infrastructure. 
 Perform the following steps: 
  | 
Related Commands