Network Virtualization Cmdlets in Windows PowerShell

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

Network Virtualization Cmdlets

This reference provides cmdlet descriptions and syntax for all Network Virtualization cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

Cmdlet Description

Get-NetVirtualizationCustomerRoute

Gets virtual network routes.

Get-NetVirtualizationGlobal

Gets per-host global information for a Network Virtualization module.

Get-NetVirtualizationLookupRecord

Gets policy entries for VMs in a virtual network.

Get-NetVirtualizationProviderAddress

Gets Provider Addresses.

Get-NetVirtualizationProviderRoute

Gets physical network routes for a virtualized network.

New-NetVirtualizationCustomerRoute

Creates a virtual network route.

New-NetVirtualizationLookupRecord

Creates a policy entry for an IP address in a virtual network.

New-NetVirtualizationProviderAddress

Assigns a Provider Address to a network interface.

New-NetVirtualizationProviderRoute

Creates a Provider Route in a virtual network.

Remove-NetVirtualizationCustomerRoute

Removes virtual network routes.

Remove-NetVirtualizationLookupRecord

Removes policy entries for IP addresses in a virtual network.

Remove-NetVirtualizationProviderAddress

Deletes Provider Addresses.

Remove-NetVirtualizationProviderRoute

Removes physical network routes for a virtualized network.

Select-NetVirtualizationNextHop

Selects the next hop MAC address.

Set-NetVirtualizationCustomerRoute

Changes the metric value for virtual routes.

Set-NetVirtualizationGlobal

Changes per-host global settings of a Network Virtualization module.

Set-NetVirtualizationLookupRecord

Changes settings for policy entries that belong to a virtual network.

Set-NetVirtualizationProviderAddress

Changes a VLAN ID or prefix length for a Provider Address.

Set-NetVirtualizationProviderRoute

Updates the metric for a Provider Route.

Note

To list all the cmdlets that are available, use the Get-Command –Module NetWNV cmdlet.

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

More Information

For more information about the cmdlets, see the following: