Get the App
SLTechnology News&Howtos  ›  Servers  › 

Exchange 2016 deployment implementation case-07.Exchange daily operation and maintenance inspection

Shulou Source: shulou.com Published: 2022-06-02 10:29:30 10月03日 Update

With Exchange Server, I believe that one of the most annoying things for everyone is how to check whether Exchange Server is running normally every day. Today, I will share some steps for daily inspection.

Daily check mail sending function Check how to ensure that the Exchange server can send mail to the external network normally. In fact, this is very simple and can be implemented with a simple script, as shown in the figure:

$Smtp=get-date

Send-MailMessage -to "zhangc@itsoul.cn" -from "exadmin@itsoul.cn" -Subject "Mail Smtp" -Body "$Smtp" -SmtpServer 192.168.1.50

After the run is complete, your mailbox will receive the email as shown in the figure:

The above scripts you can save as PowerShell scripts, triggered using task sequences. In this way, you can send the test email according to the requirements, and the email address can also be written as an external network address. Certificate Check Login OWA or ECP Check Certificate Expiration Time

Check certificate script: gallery.technet.microsoft.com/scriptcenter/Exchange-Certificate-91578ac4

Disk usage check Log in to all servers Check disk usage space, as shown in the figure:

Server performance check Check CPU, memory and other performance

Event daily query refers to screenshot to query whether there is warning or error in event log.

Backup status check

The backup mentioned here is mainly divided into two levels, as follows:

Backup of the server Backup of the database DAG status Check database copy status

Server Service Check Check the service status using the command, as shown in the figure:

reverse resolution

Check the mail server for reverse parsing using the command:

nslookup -qt=ptr Email public IP address

Extranet link test Use the following website to test extranet mail links. The website address is as follows:

https://testconnectivity.microsoft.com/

Check the total number of mailboxes using the following command

Get-Mailbox | Measute-Object

Statistics on a server within a period of time sent:

Get-MessageTrackingLog -ResultSize unlimited -Start "07/01/2012" -End "07/13/2012" -EventId "send" -Server "srvbj06" |Measure-Object

Mail volume statistics

Get-MessageTrackingLog -ResultSize unlimited -Start "07/01/2012" -End "07/13/2012" -EventId "send" |Group-Object -Property:sender |Select name,count|sort count -Descending

Tags: Check mail service server address backup script such as figure command status certificate test event performance total situation data database time disk Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Docker macOS Shulou Information Huawei