Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Net TCP/IP Cmdlets in Windows PowerShell

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

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.

Net TCP/IP

This reference provides cmdlet descriptions and syntax for all Net TCP/IP-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

 

cmdlet Description

Get-NetIPAddress

Gets information about IP address configuration.

Get-NetIPInterface

Gets information about the IP interface properties.

Get-NetIPv4Protocol

Gets information about the IPv4 Protocol configuration.

Get-NetIPv6Protocol

Gets information about the IPv6 protocol configuration.

Get-NetNeighbor

Gets information about the neighbor cache for IPv4 and IPv6.

Get-NetOffloadGlobalSetting

Gets information about the global TCP/IP offload settings.

Get-NetPrefixPolicy

Gets information about the prefix policy.

Get-NetRoute

Gets the IP routing table.

Get-NetTCPConnection

Gets information about current TCP connection statistics.

Get-NetTCPSetting

Gets information about TCP settings and configuration.

Get-NetTransportFilter

Gets information about transport filters.

Get-NetUDPEndpoint

Gets information about current UDP connection statistics.

Get-NetUDPSetting

Gets information about UDP settings and configuration.

New-NetIPAddress

Creates an IP address and the configuration properties of that IP address.

New-NetNeighbor

Creates a neighbor cache entry for IPv4 or IPv6.

New-NetRoute

Creates an entry in the IP routing table.

New-NetTransportFilter

Creates a transport filters.

Remove-NetIPAddress

Deletes an IP address and the configuration properties of that IP address.

Remove-NetNeighbor

Deletes a neighbor cache entry for IPv4 or IPv6.

Remove-NetRoute

Deletes an entry or entries (IP routes) from the IP routing table.

Remove-NetTransportFilter

Deletes a transport filter.

Set-NetIPAddress

Modifies IP address configuration properties of an existing IP address.

Set-NetIPInterface

Modifies IP interface properties.

Set-NetIPv4Protocol

Modifies information about the IPv4 Protocol configuration.

Set-NetIPv6Protocol

Modifies information about the IPv6 Protocol configuration.

Set-NetNeighbor

Modifies a neighbor cache entry.

Set-NetOffloadGlobalSetting

Modifies information about the global TCP/IP offload settings.

Set-NetRoute

Modifies an entry or entries in the IP routing table.

Set-NetTCPSetting

Modifies TCP settings and configuration.

Set-NetUDPSetting

Modifies UDP settings and configuration.

noteNote
To list all the cmdlets that are available, use the Get-Command –Module NetTCPIP 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:

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.