Use Test-NetConnection to Replace Ping
In my PowerShell Beginner series, get started with PowerShell by replacing some classic but obsolete command line tools such as ping and tracert, and more by using Test-NetConnection.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed