Windows 7 and newer releases of Windows supports ping results of either IPv4 or IPv6.
If the remote PC or server is configured for both IPv4 and IPv6, and if you need to ping via hostname and you want to get an IPv4 address type the command below:
ping -4 -n 2 Dhoney_Srv
Output will be IPv4 address of the hostname
ping -6 -n 2 Dhoney_Srv
Output will be IPv6 address of the hostname.
-n 2 send two ICMP packet requests.
Cheers! Till next time.
Free Android Apps:
Linux Android App cheat sheet:
Heaven's Dew Fall Prayer app for Android :
Catholic Rosary Guide for Android:
Divine Mercy Chaplet Guide (A Powerful prayer):