Set-VBRViNetworkMappingRule
Short Description
Modifies network mapping rules of isolated networks.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Set-VBRViNetworkMappingRule [-NetworkMapping <VBRViVirtualLabNetworkMappingRule>] [-ProductionNetwork <VBRViNetworkInfo>] [-IsolatedNetworkName <string>] [-VLANID <int>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies network mapping rules of isolated networks.
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 |
---|---|---|---|---|---|
NetworkMapping | Specifies the network mapping rule of isolated networks. The cmdlet will modify settings of this network mapping rule. | Accepts the VBRViVirtualLabNetworkMappingRule object. To create this object, run the New-VBRViNetworkMappingRule cmdlet. | True | Named | False |
ProductionNetwork | Specifies a production network with original VMs. The cmdlet will map VMs from this network to VMs from the isolated network. | Accepts the VBRViNetworkInfo object. To get this object, run the Get-VBRViServerNetworkInfo cmdlet. | False | Named | False |
IsolatedNetworkName | Specifies a name of an isolated network. The cmdlet will create an isolated network with this name. | String | False | Named | False |
VLANID | Specifies an ID of an isolated network. The cmdlet will create the isolated network with the specified ID. | Int32 | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRViVirtualLabNetworkMappingRule object that defines network mapping rules of isolated networks.
Examples
Example 1. Modifying Mapping to Production Network
This example shows how to modify mapping rule and to map an isolated network to another production network.
Perform the following steps:
The Get-VBRViServerNetworkInfo cmdlet will return an array of production networks. Mind the ordinal number of the necessary production network (An array starts with 0. In our example, it is the sixth production network in the array). |
Example 2. Modifying Isolated Network Name and ID
This example shows how to modify a name and ID of an isolated network.
Perform the following steps:
|
Related Commands