Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vbscript that include Date and Time

Status
Not open for further replies.
Jan 28, 2004
19
US
I am doing a continuous ping to a workstation and would like to tell when the timeouts were happening. Currently the statistics only include the following.
Ping statistics for 192.168.166.153:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 44ms, Maximum = 105ms, Average = 74ms

Is there a script or a free utility that I could use to get this information?

Thanks again.
 
Have a look at the Now function.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
You will want to use Now() as PHV has suggested, but you should also look at using WMI to perform the ping so you can link the two together.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top