Set-VBRViVirtualLab
Short Description
Modifies settings of VMware virtual labs.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRViVirtualLab -VirtualLab <VBRViVirtualLabConfiguration> [-Type <VBRViVirtualLabType>] [-Description <String>] [-EnableCacheRedirect] [-CacheDatastore <VBRViDatastore>] [-EnableProxyAppliance] [-ProxyAppliance <VBRViVirtualLabProxyAppliance>] [-DVS <VBRViVirtualSwitch>] [-NetworkMappingRule <VBRViVirtualLabNetworkMappingRule[]>] [-NetworkOptions <VBRViVirtualLabNetworkOptions[]>] [-EnableRoutingBetweenvNics] [-EnableStaticIPMapping] [-IpMappingRule <VBRViVirtualLabIPMappingRule[]>] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of VMware virtual labs of the following kinds:
- VMware Basic Virtual Lab
- VMware Advanced Virtual Lab
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CacheDatastore |
Specifies a datastore to keep redo logs for verified VMs.
Accepts the |
|
False |
Named |
False |
|
Description |
Specifies a description. The cmdlet will create a virtual lab with this description. |
|
False |
Named |
False |
|
DVS |
Specifies the VMware Distributed vSwitch. The create a virtual lab with the specified virtual switch.
Accepts the |
False |
Named |
False |
|
|
EnableCacheRedirect |
Defines that the cmdlet will redirect redo logs of verified VMs to the datastore. If you provide this parameter, Veeam Backup & Replication will keep the redo logs on the specified datastore. Otherwise, it will keep them on the vPower NFS server.
Run the |
|
False |
Named |
False |
|
EnableProxyAppliance |
Defines that the cmdlet will enable the proxy appliance option. If you specify this option, Veeam Backup & Replication enable automatic recovery verification of VMs. Otherwise, Veeam Backup & Replication will only start VMs in the virtual lab and perform the heartbeat test for VMs during recovery verification. |
|
False |
Named |
False |
|
EnableRoutingBetweenvNics |
Defines that the cmdlet will enable communication between isolated networks. If you provide this parameter, the cmdlet will enable communication between isolated networks. Otherwise, Veeam Backup & Replication will not be able to connect the isolated networks with production networks. |
|
False |
Named |
False |
|
EnableStaticIPMapping |
Defines that the cmdlet will enable the static IP mapping option. If you provide this parameter, Veeam Backup & Replication will assign a static IP address to every VM in the virtual lab. Otherwise, you must update the routing table on every client machine. |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will not show any warning about network mapping. If you do not provide this parameter, the cmdlet will display a warning. |
|
False |
Named |
False |
|
IpMappingRule |
Specifies static IP address mapping rules. The cmdlet will create a virtual lab with the specified mapping rules.
Accepts the |
|
False |
Named |
False |
|
NetworkMappingRule |
Specifies mapping rules of isolated networks with production networks. The cmdlet will create a virtual lab with the specified mapping rules.
Accepts the |
|
False |
Named |
False |
|
NetworkOptions |
Specifies network settings of an isolated network. The cmdlet will create a virtual lab with the specified network settings.
Accepts the |
|
False |
Named |
False |
|
ProxyAppliance |
Specifies a proxy appliance. The cmdlet will add this proxy appliance to a virtual lab.
Accepts the |
|
False |
Named |
False |
|
Type |
Specifies a networking mode for a virtual lab. You can select one of the following networking modes:
|
|
False |
Named |
False |
|
VirtualLab |
Specifies a virtual lab that you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRViVirtualLabConfig>[] object that contains settings of basic VMware virtual labs.
Examples
Example 1. Modifying Datastore for Virtual Lab
|
This example shows how to specify the custom datastore for a virtual lab. Veeam Backup & Replication will keep redo logs on the
Perform the following steps:
|
Example 2. Modifying Networking Mode for Virtual Lab
|
This example shows how to modify networking mode for a virtual lab. The networking mode will be switched to verify that all VMs are connected to different networks and are located on the same ESXi hosts.
Perform the following steps:
|
Related Commands
Get-VBRViVirtualLabConfigurationReturns virtual labs and their settings.Find-VBRViDatastoreLooks for VMware datastores.Get-VBRServerReturns hosts connected to the backup infrastructure.