With Windows 8.1 and Windows Server 2012, R2 Microsoft released PowerShell v4 with new PowerShell modules and new PowerShell cmdlets. One of them is the new Test-NetConnection cmdlet, which does replace some simple network tools like Ping, Traceroute, port scanner, and more. First, if you just run Test-NetConnection, this will check a Microsoft edge server and will tell you if your internet is working or not. You can also ping other servers. If we have a closer look at this cmdlet, we can see that we can do much more. What we can do is something like a port scan.