I wrote a script to get the output of ping every few minutes.
This is part of my script:
Set objShell = CreateObject("WScript.Shell")
Set objExec = objShell.Exec("ping -n 4 -w 1000 " & serverName)
strPingResults = LCase(objExec.StdOut.ReadAll)
Since ping runs in a window, a window pops up every few minutes when my script is running and I don't want that. I would like to get the output from pinging a server without a window showing up every few minutes. How can I do that? Should I be calling some other ping program?