I am working on a script to suggest the best vpn server for the client
I want to know if the vpn server is now Available through powershell
Example:
ping my.vpnserver.com
if errorlevel 1 echo The VPN Server Not Available
I tried with ping command but in all cases it shows me that vpn server is connected
I want a solution for this