Pinging via IPv4
All PowerShell versions You can use ping.exe just like any other command inside PowerShell scripts. By adding “-4” to the command line, you can force...
- Written By: ps1
- Last Updated: April 21, 2025
- 1 minute read
All PowerShell versions You can use ping.exe just like any other command inside PowerShell scripts. By adding “-4” to the command line, you can force...
You can use ping.exe just like any other command inside PowerShell scripts. By adding “-4” to the command line, you can force ping to use IPv4 (add “-6” to force IPv6 instead).
PS> ping localhost -4
Contact our sales team to get a personalized demo of our database management software for SQL Server!