PingReplyDetails (RTT)
: 0 ms
TcpTestSucceeded
: True
Or you can use -InformationLevel to suppress all output except whether the desired test was successful or not: PS C:\> Test-NetConnection HOST40 RDP -InformationLevel Quiet WARNING: Ping to HOST40 failed -- Status: TimedOut True PS C:\>
One final note about Test-NetConnection is that you can also run it with no parameters like this: PS C:\> Test-NetConnection
ComputerName
: internetbeacon.msedge.net
RemoteAddress
: 131.253.3.197
InterfaceAlias
: vEthernet (Broadcom NetXtreme Gigabit Ethernet #2 -
SourceAddress
: 172.16.11.30
PingSucceeded
: True
Virtual Switch)
PingReplyDetails (RTT) : 49 ms
Doing this simply tests whether your server has a network connection with the Internet by testing connectivity with a remote server belonging to the DNS domain msedge.net, which is registered by Microsoft. Another new network diagnostic cmdlet introduced in Windows Server 2012 R2 is est-VMNetworkAdapter, which lets you diagnose network connectivity issues in the T tenant network of a Hyper-V Virtual Network environment. At the time of writing, the documentation for this cmdlet had not been published, so we’ll refer you to the link on this topic in the “Learn more” section of this chapter for more information when it becomes available.
IPAM enhancements Enterprise networks today tend to be a lot more complex than they were 20 or even 10 years ago. With the advent of virtualization technologies like Hyper-V, network administrators have to deal with both physical networks and virtual networks. Nodes on both kinds of networks need IP addresses in order to be reachable, and these IP addresses can be assigned statically (manually), dynamically using DHCP, dynamically using Automatic Private IP Addressing (APIPA), or more typically, using some combination of these three methods. DNS is also needed in order to provide name resolution services so servers can have easy-to-remember friendly names like SRV-A instead of hard-to-memorize IP addresses like 169.254.115.33.
IPAM enhancements
Chapter 5
105