Home Network Admin Test ports using Powershell

Test ports using Powershell


There is a good PowerShell (PS) cmdlet to replace ping called Test-NetConnection. You can use it natively from Server 2012r2 PS.
You can use this tool to test internet connectivity, Ping a remote host, perform a trace route, check if a host is listening on a certain port, etc. It has an alias of “tnc”

Example: Test-NetConnection domain.com -port 80

See link below for more examples


Use Test-NetConnection to Replace Ping

Previous articleForce Dir Sync in Azure AD Connect
Next articleOffice 365 Outlook 2016 hangs on Loading Profile


Please enter your comment!
Please enter your name here