PowerShell Logo Small


This is the built-in help made by Microsoft for the command 'Get-NetVirtualizationProviderRoute', 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.


Gets physical network routes for a virtualized network.


Get-NetVirtualizationProviderRoute [-AsJob] [-CimSession <CimSession[]>] [-DestinationPrefix <String[]>] [-InterfaceIndex <UInt32[]>] [-Metric <UInt32[]>] [-NextHop
<String[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]

Search powershellhelp.space


The Get-NetVirtualizationProviderRoute cmdlet gets physical network routes for a Microsoft® Hyper-V® Server 2012 virtual network. Network Virtualization allows more than one
virtual network to exist on the same physical network. Computers can exchange network traffic with a virtual machine (VM) by using a Customer Address within the virtual
network. Network Virtualization uses Provider Routes to direct network traffic on the physical network. For more information, see Network Virtualization technical details
(http://technet.microsoft.com/library/jj134174.aspx) on TechNet.

You can specify Provider Routes by using any combination of the following:

-- Destination.
-- Interface.
-- Metric.
-- Next hop gateway.



Online Version: http://go.microsoft.com/fwlink/?LinkId=289180




Example 1: Get provider routes for a specified interface

PS C:\> Get-NetVirtualizationProviderRoute -InterfaceIndex 21

This command gets the provider routes for the interface that has the interface index 21.

Example 2: Get provider routes for destination prefix

PS C:\>Get-NetVirtualizationProviderRoute -DestinationPrefix ""

This command gets the provider routes that have the specified destination prefix.