Network troubleshooting
In the upcoming recipe Checking network connectivity using Get-NetView, you use the Get-NetView
command to gather a large amount of network-related information to diagnose and resolve network issues. For some issues, this level of detail is fundamental in helping you to resolve network issues. But in some cases, it can be overkill. Often some simpler steps may help you resolve your more common issues or point you toward a solution.
In this recipe, you carry out some basic troubleshooting on a local SRV1
, a domain-joined host running Windows Server 2022. A common theory is that any network problem is due to DNS (until you prove otherwise). You start this recipe by getting the host's fully qualified domain name (FQDN) and the IPv4 address of the DNS server, and then you check whether the DNS server is online.
You then use the configured DNS server to determine the names of the DCs in your domain and ensure you can reach each DC over both port 389...