cookbook:test_netconnection
This is an old revision of the document!
Testing Connection And Port Access
Test-NetConnection is a PowerShell cmdlet used to diagnose network connectivity issues. It’s part of Windows PowerShell 4.0 and later, and provides a more detailed alternative to traditional tools like ping or tracert.
Capabilities:
- Ping a host
- Test TCP port connectivity
- Trace route to a remote host
- Check DNS resolution
- Display interface and source IP info
Example
Ping a remote host, replace your-server.com with your servers address.
Test-NetConnection your-server.com
cookbook/test_netconnection.1759281696.txt.gz · Last modified: 2025/10/01 01:21 by Scott Cunliffe