Remove-VSBVirtualLab (obsolete)
Short Description
Removes a specified VMware virtual lab.
Note |
|
This cmdlet is deprecated and will be marked as obsolete in the future. It is recommended to re-write your scripts using the |
Platform: VMware
For Hyper-V, run the Remove-VSBHvVirtualLabRemoves a Hyper-V 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 cmdlet. cmdlet.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Remove-VSBVirtualLab [[-VirtualLab] <CViSbVirtualLab[]>] [-FromHost] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes VMware virtual labs.
You can remove virtual labs from the Veeam Backup & Replication console or from ESXi hosts. To remove virtual labs from ESXi hosts, use the FromHost parameter.
If you remove a virtual lab from the Veeam Backup & Replication console, you can add it back by running the Connect-VSBHvVirtualLabConnects an existing Hyper-V virtual lab. This cmdlet is obsolete. The cmdlet still works but may not be supported in further versions. cmdlet.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
FromHost |
Defines that the cmdlet will remove virtual labs from ESXi hosts. |
|
False |
Named |
False |
|
VirtualLab |
Specifies the array of virtual lab names. The cmdlet will remove these virtual labs.
Accepts the |
|
False |
0 |
True (ByPropertyName, ByValue) |
|
Confirm |
Defines whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. |
|
False |
Named |
False |
|
WhatIf |
Defines whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. |
|
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 Console
|
This example shows how to remove a virtual lab from the Veeam Backup & Replication console.
Perform the following steps:
|
Example 2. Removing Virtual Lab from ESXi Host
|
This example shows how to remove a virtual lab from the ESXi host.
Perform the following steps:
|
Related Commands
Get-VSBVirtualLabReturns VMware virtual labs. This cmdlet is deprecated and will be marked as obsolete in the future. It is recommended to re-write your scripts using the Get-VBRVirtualLab cmdlet.