PowerShell Logo Small


This is the built-in help made by Microsoft for the command 'Get-NetVirtualizationLookupRecord', 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 policy entries for VMs in a virtual network.


Get-NetVirtualizationLookupRecord [-AsJob] [-CimSession <CimSession[]>] [-Context <String[]>] [-CustomerAddress <String[]>] [-CustomerID <String[]>] [-MACAddress <String[]>]
[-ProviderAddress <String[]>] [-Rule <RuleType[]>] [-ThrottleLimit <Int32>] [-Type <Type[]>] [-Unsynchronized <Boolean[]>] [-Unusable <Boolean[]>] [-UseVmMACAddress
<Boolean[]>] [-VirtualSubnetID <UInt32[]>] [-VMName <String[]>] [<CommonParameters>]

Search powershellhelp.space


The Get-NetVirtualizationLookupRecord cmdlet gets lookup record policy entries for IP addresses that belong to 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 manages the Provider Addresses that are the physical network addresses. This cmdlet gets records that map
a Customer Address to a Provider Address. For more information, see Network Virtualization technical details (http://technet.microsoft.com/library/jj134174.aspx) on TechNet.



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




Example 1: Get all policy entries for a host

PS C:\> Get-NetVirtualizationLookupRecord

This command gets all the policy entries for the current host.

Example 2: Get policy entries for a specified virtual subnet

PS C:\>Get-NetVirtualizationLookupRecord -VirtualSubnetID 50002

This command gets all policy entries that belong to the virtual subnet that has the ID 50002.

Example 3: Get policy entries for a physical IP address

PS C:\>Get-NetVirtualizationLookupRecord -ProviderAddress ""

This command gets all the policy entries that contain the specified provider address.