crazywolf2010
asked on
Small powershell script to ping an IP address and send email
Hi,
I am after a small powershell script to carry a ping test on a server and send email when it is not reachable. I can use gmail account to send email.
Thanks
I am after a small powershell script to carry a ping test on a server and send email when it is not reachable. I can use gmail account to send email.
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
which mail client do you have? outlook? or just a web client?
ASKER
Hi,
It's on windows 2008 server so I would say web client only. There is an outgoing net connection from server.
Thanks
It's on windows 2008 server so I would say web client only. There is an outgoing net connection from server.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I don't have mailx or an email routing in place at server.
Could you please modify this script to send an email using gmail account details.
Thanks