Exchange Server | Murat Bilici

"Empower your knowledge"

Posts Tagged 'MonitorDAG.ps1'

Monitor Databases in DAGs

Function sendEmail ([String] $body) { $MailMessage = New-Object System.Net.Mail.MailMessage $MailMessage.From = "exchange@letsexchange.com" $MailMessage.To.Add("nuno@letsexchange.com") $MailMessage.Subject = "DAG Not Healthy!" $MailMessage.Body = $body $MailMessage.Priority = "High"

24 Şubat 2012 at 13:49 - Comments