PowerShell Logo Small


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


Removes policy entries for IP addresses in a virtual network.


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

Search powershellhelp.space


The Remove-NetVirtualizationLookupRecord cmdlet removes 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 removes
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.

You can specify which entries to remove, or you can remove all policy entries for a Hyper-V Server 2012 host. You can use the Get-NetVirtualizationLookupRecord cmdlet to get
entries to remove.



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




Example 1: Remove all policy entries

PS C:\> Remove-NetVirtualizationLookupRecord

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

Example 2: Remove policy entries for a specified virtual subnet

PS C:\>Remove-NetVirtualizationLookupRecord -VirtualSubnetID 10234

This command removes all policy entries that belong to the virtual subnet that has the ID 10234.

Example 3: Remove policy entries for a specified VM name

PS C:\>Remove-NetVirtualizationLookupRecord -VMName "Contoso-VM2"

This command removes all the policy entries that contain the specified VM name.