Net TCP/IP 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.

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.

참고

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: