Summary: Use Windows PowerShell to count hops to a server.
On my computer running running Windows 8.1, how can I use Windows PowerShell to verify
the number of hops to my server?
Use the Test-NetConnection function and the –TraceRoute parameter,
specify the server name, choose the TracerOut property, and get the count:
(Test-NetConnection -TraceRoute -ComputerName "www.contoso.com").traceroute.count