Jonathan
Tue Sep 13 11:55:12 CDT 2005
You can try and use teh WMI Win32_PingStatus Class.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_pingstatus.asp
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Greg O" <none@none.atall> wrote in message
news:432644a1$0$17734$afc38c87@news.optusnet.com.au...
> Hello,
>
> My 2003 server loses Internet connectivity frequently which I can get back
> by ipconfig/release and ipconfig/renew. I am looking for a script to ping
> an internet address and if it receives no reply to run ipconfig release
> and renew. Preferably the script would check at regular intervals like
> every hour, other wise I could schedule it with task scheduler.
>
> Thanks for any help.
>