Hansz
Jun 6th, 2001, 04:29 AM
How do I create a vbscript tool which can check whether a server/computer is up or down and put this information in a CSV-file???
csammis
Jun 6th, 2001, 03:14 PM
I've never used VBScript or CSV files, but here's the idea:
Find a ping utility and a gethostbyname utility. Use the gethostbyname function to resolve the domain name (e.g., "www.mulunkey.com") to an IP address (24.167.169.249). Ping the IP address. If the ping gets returned, write in your file that the website up. If the ping doesn't get returned at all, write in your file that the website is down.
Best of luck!