Testing network connectivity
In today's connected world, network connectivity is vital. When you add a new server to your infrastructure, it is useful to ensure that the server can connect to and use the network.
In this recipe, you perform necessary network connectivity tests on the newly installed SRV2
host. You should ensure that full connectivity exists before adding a server to the domain.
Getting ready
This recipe uses SRV2
, a workgroup host. You gave this host a static IP address in the Configuring IP addressing recipe.
How to do it...
- Verifying
SRV2
itself is up and that Loopback is workingTest-Connection -ComputerName SRV2 -Count 1 -IPv4
- Testing connection to local host's WinRM port
Test-NetConnection -ComputerName SRV2 -CommonTCPPort WinRM
- Testing basic connectivity&...