Here is how you check the basic network connectivity:
- Use Ping to test connectivity from CL1 to DC1:
Ping DC1
- Use Test-NetConnnection to test connection to DC1:
Test-Connection -ComputerName DC1
- Test with a simple true/false return:
Test-Connection -ComputerName DC1 -Quiet
- Test multiple systems at once:
Test-Connection -ComputerName 'DC1','DC2','SRV1' -Count 1
- Test connectivity to DC1 for SMB traffic:
Test-NetConnection -ComputerName DC1 -CommonTCPPort SMB
- Get a detailed connectivity check, using DC1 with HTTP:
Test-NetConnection -ComputerName DC1 -CommonTCPPort HTTP `
-InformationLevel Detailed
- Check connectivity to a port (LDAP on DC1):
Test-NetConnection -ComputerName DC1 -Port 445
- Check connectivity to a system that is up and running but for a port that does not exist or is not open:
Test-NetConnection -ComputerName DC1 -PORT 9999
- Finally, test for a system that does not exist:
Test-NetConnection -ComputerName DC99 -PORT 9999
No comments:
Post a Comment