Jump to content

Recommended Posts

Posted

cscript c:\sendemail.vbs 1234567890@txt.att.net "" "mailserver is down"

I learnt something new about CSCRIPT.

Alright, I know what you meant right now.

Thank you.


Posted

once you have the emailing part down,

now you create the batch file/programming, how ever you want....to ping your stuff

when it gets a failed pinging...have it call the batch file..with the cscrpits commands in it.

Posted

when it gets a failed pinging...have it call the batch file..with the cscrpits commands in it.

This part I know. I have the complete picture right now.

BTW, does the script work for you well? Accurate? Do you think should increase the timeout values for slow connections (so that it won't consider it a dead host)?

Posted

it works perfect for me....it all depends on your situation really

how good is your vpn..ect ect...do you get any dropoffs?

how often do you need to check?

dude...you said your a I.T. Exec

ask yourself those questions and program and create to your needs

Posted

it works perfect for me....it all depends on your situation really

I have answered my own question, increase timeout values and return as alive host for slower connections will work in my situation.

Thank you once again.

Posted

Here use this VBS Ping Scan that ping computer and if it reply connects to the computer and

lists some basic info.

You could do what you want without using any 3 rd party app using VBS scripting.

Dear Super Moderator, thank you for your contribution. I am not well-versed in VBS scripting, so I have no way to comment the code snippet.

BTW, I have resigned the position as I.T. Executive and am now seeking new job. It is too much to handle 40 outlets statewide.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...