cookbook:test_netconnection
This is an old revision of the document!
Table of Contents
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
Ping A Host
Ping a remote host, replace your-server.com with your servers address.
Test-NetConnection your-server.com
Test TCP Port Connection
Ping the remote host adding the port number, TapeTrack operates over port 5000 by default. or next most common on port 443
Test-NetConnection your-server.com -Port 5000
cookbook/test_netconnection.1759282050.txt.gz · Last modified: 2025/10/01 01:27 by Scott Cunliffe