Thursday, February 27, 2014

Exchange 2013 Backup Status Alert

 Today created a task schedule which can able to read the backup status of all the Exchange 2013 database and provide you email report to your inbox.

This makes easier for our daily operation to review the backup status.

 Login to the Exchange Server - Go to Administrative Tools - Click Task Scheduler - Create New Task

 Task: Exchange 2013 Backup Status

 Description: To Monitor Exchange 2013 Backup Status

 Program/Script: C:\Windows\System32\WindowsPowerShell\v1.0\Powershell.exe
 Add Arugument: -Command ".'E:\Program Files\Microsoft\Exchange Server\V15\Bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto; Send-MailMessage -From admin@mail.com -To rajis@mail.com,u1@mail.com -SmtpServer server.mail.com -Subject Exchange_2013_Backup_Status -body (Get-MailboxDatabase -Status * | Where-Object {$_.Mounted -like "True"} | Select-Object Identity, Mounted*, Last* | Sort-Object LastFullBackup -desc | format-table -autosize | out-string)"

 Note: Change the From Address, To Address, SMTPServer Detail according to your infra

No comments:

Post a Comment

The blog is written to the share the knowledge mainly on Microsoft Exchange Server and other Microsoft product that experienced on day-to-day life.