PowerShell Logo Small

Set-VmNetworkAdapterRoutingDomainMapping



This is the built-in help made by Microsoft for the command 'Set-VmNetworkAdapterRoutingDomainMapping', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Sets virtual subnets on a routing domain.

SYNTAX


Set-VmNetworkAdapterRoutingDomainMapping [-VMName] <String[]> [-ComputerName <String[]>] [-IsolationID <Int32[]>] [-IsolationName <String[]>] [-NewRoutingDomainName
<String>] [-Passthru] [-RoutingDomainID <String>] [-RoutingDomainName <String>] [-VMNetworkAdapterName <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-VmNetworkAdapterRoutingDomainMapping [-ComputerName <String[]>] [-IsolationID <Int32[]>] [-IsolationName <String[]>] [-NewRoutingDomainName <String>] [-Passthru]
[-RoutingDomainID <String>] [-RoutingDomainName <String>] [-VMNetworkAdapterName <String>] -ManagementOS [-Confirm] [-WhatIf] [<CommonParameters>]
Set-VmNetworkAdapterRoutingDomainMapping [-InputObject] <VMNetworkAdapterRoutingDomainSetting> [-IsolationID <Int32[]>] [-IsolationName <String[]>] [-NewRoutingDomainName
<String>] [-Passthru] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-VmNetworkAdapterRoutingDomainMapping [-VM] <VirtualMachine[]> [-IsolationID <Int32[]>] [-IsolationName <String[]>] [-NewRoutingDomainName <String>] [-Passthru]
[-RoutingDomainID <String>] [-RoutingDomainName <String>] [-VMNetworkAdapterName <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-VmNetworkAdapterRoutingDomainMapping [-VMNetworkAdapter] <VMNetworkAdapterBase[]> [-IsolationID <Int32[]>] [-IsolationName <String[]>] [-NewRoutingDomainName <String>]
[-Passthru] [-RoutingDomainID <String>] [-RoutingDomainName <String>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-VmNetworkAdapterRoutingDomainMapping cmdlet sets virtual subnets on a routing domain.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294123
Get-VMNetworkAdapterRoutingDomainMapping
Add-VmNetworkAdapterRoutingDomainMapping
Remove-VMNetworkAdapterRoutingDomainMapping

REMARKS

<

Examples


Example 1: Set a virtual subnet on a routing domain

PS C:\>Set-VMNetworkAdapterRoutingDomainMapping -VMName "Gateway01" -VMNetworkAdapterName "Internal NIC" -RoutingDomainID "{5a07361e-6a54-49fc-9210-bfbf14a5c56f}"
-IsolationID 6001



This command sets the virtual subnet that has the ID 6001 for the specified routing domain. The command specifies that the routing domain is on the network adapter named
Internal NIC that belongs to the multitenant virtual machine named Gateway01.