Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Count Hops to Server

$
0
0

Summary: Use Windows PowerShell to count hops to a server.

Hey, Scripting Guy! Question On my computer running running Windows 8.1, how can I use Windows PowerShell to verify
          the number of hops to my server?

Hey, Scripting Guy! Answer 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 


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>