监控远程PC关机活动

我们有10台主要用于构build的Windows 7 PC

由于我们无法识别的原因,我们有一些服务器正在自行closures的问题。 在事件查看器中,我看到“内核断电”事件。 这里没有很多的信息

我用Mem86做了一个RAMtesting,没有错误。

我正在寻找一种监控机制,可以在电脑关机时通知我(电子邮件)。

我有以下想法/选项

  • Ping所有的机器,其中任何一个都closures,发送电子邮件
  • 每10分钟将文件写入一个正常运行时间的位置

有没有其他的失败certificate方法来监测心跳?

我没有权限安装任何第三方软件

您始终可以使用Powershell:

$computerArray = "PCOne", "PCTwo" #List of Computers to check Foreach ($computer in $computerArray) { If (!(Test-Connection $computer -Quiet)) #test if the computer responds to a ping {Send-MailMessage -To [email protected] -Subject "$computer is down"} #If not, send an email } 

填写你的电子邮件信息,并把脚本放在一个计划任务,你应该很好去。