Try this ‘ping’ replacement before?

One really cool and definitely useful cmdlet available in Windows Server 2012 R2 is Test-NetConnection.
 If you run Test-NetConnection without any additional parameters, it will look to resolve to an external Microsoft address ( and will return information such as the IP, Internet alias, and RTT in milliseconds. This can save time when you need to check if a particular system has Internet connectivity.
2 Examples below, first one is without any parameters (resolving to and the second invoking the -ComputerName parameter which gives you output similar to below:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s