FlierMate Posted December 10, 2012 Author Share Posted December 10, 2012 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. Link to comment Share on other sites More sharing options...
net_user Posted December 10, 2012 Share Posted December 10, 2012 once you have the emailing part down, now you create the batch file/programming, how ever you want....to ping your stuffwhen it gets a failed pinging...have it call the batch file..with the cscrpits commands in it. Link to comment Share on other sites More sharing options...
FlierMate Posted December 10, 2012 Author Share Posted December 10, 2012 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)? Link to comment Share on other sites More sharing options...
net_user Posted December 10, 2012 Share Posted December 10, 2012 it works perfect for me....it all depends on your situation reallyhow 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. Execask yourself those questions and program and create to your needs Link to comment Share on other sites More sharing options...
FlierMate Posted December 10, 2012 Author Share Posted December 10, 2012 it works perfect for me....it all depends on your situation reallyI 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. Link to comment Share on other sites More sharing options...
gunsmokingman Posted December 10, 2012 Share Posted December 10, 2012 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. Link to comment Share on other sites More sharing options...
FlierMate Posted December 13, 2012 Author Share Posted December 13, 2012 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now