Solved

PowerShell for server monitoring

Posted on 2014-03-07
2
258 Views
Last Modified: 2014-03-17
How to write a powershell to poll a list of servers and send out an notification for those servers that don't receive the ping response ?

Tks
0
Comment
Question by:AXISHK
2 Comments
 
LVL 26

Accepted Solution

by:
pony10us earned 400 total points
ID: 39912773
Not wanting to re-invent the wheel have you looked at the script on technet?

http://gallery.technet.microsoft.com/scriptcenter/d0670079-6158-4dc5-a9da-b261c70e4b7d

It worked pretty well for us until we decided to make the move to Nagios.
0
 
LVL 19

Assisted Solution

by:Kash
Kash earned 100 total points
ID: 39912879
or if you want to write your own little script. here it is

$computers = read-host "Enter server name"

test-connection $computers

you can add loops on to it. the above works for one computer. or the script mentioned above will do the job
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Utilizing an array to gracefully append to a list of EmailAddresses
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now