Share via


PowerShell 3 NetTcpIP Module

NetTcpIP is a new PowerShell module which is coming with the PowerShell 3. Currently there are 34 commands are available with this module.

We can get the available commands in this module using

Get-Command -Module NetTcpIP

Then it will display all the available commands with this module.

Since this is new powershell module sometimes we may get some help on this module, therefore we can upgrade the help files of PowerShell or we can only upgrade NetTcpIP module

Ex

Update-Help

Update-Help -Module NetTcpIP

Most of the commands in this module are very usefull and those are replaced most of the jobs of the Netsh.Some useful commands are describe in this Wiki as follows

Get-NetIPAddress

Using this command we can all the available ip addresses and related details such ip interface index and type

Get-Netroute

Using this command we can view routing table of the computer/server

Get-NetTCPConnection

Using this command we can tcp connection details of the computer

Test-NetConnection

Using this command we can check weather that computer can access the internet.

Get-NetIPInterface

Using this command we can get the details of the available physical NICS. We can use interface index ip for configuration

New-NetIPAddress

We can use this command for assign a ip address, default gateway and subnetmask to the computer with PowerShell