Read time 4 minutes

Summary: This article discusses the importance of monitoring the health of Exchange Server databases and provides guidance on using Exchange Management Shell cmdlets to do so. It covers various commands for checking mailbox statistics, service health, mailbox accessibility, and more. In case of database issues, administrators can choose between manual recovery with Eseutil or opt for the efficient Kernel for Exchange Server Recovery tool, offering comprehensive data retrieval and a free trial version for evaluation.

Exchange Server users consistently prioritize the well-being of their databases, recognizing their susceptibility to corruption and associated errors. Given that the Exchange Server database holds and manages comprehensive information exchanged via the server, maintaining its integrity and ensuring the health of associated mailboxes becomes paramount. The pivotal query at hand is: How can Exchange administrators effectively monitor the health of their Exchange Server database? In this blog post, we shall delve into the solution to this crucial question.

Exchange Server 2010 and its subsequent versions provide administrators with essential database health check commands accessible through the Exchange Management Shell. These commands empower administrators to assess the real-time condition of the Exchange Server database and promptly initiate appropriate actions to address any detected issues.

Check Exchange database health using Exchange Management Shell cmdlets

Discover how Exchange administrators can vigilantly monitor the health and performance of Exchange Server services, mailbox databases, and individual mailboxes with precision, utilizing the robust capabilities of Exchange Management Shell cmdlets.

  • General information about Exchange Server mailboxes
    Get-MailboxStatistics | ft DisplayName,TotalItemSize,ItemCount

    Output: Mailbox Display Name, Total Item Size, Total Number of Mailbox Items for each mailbox in the Exchange database

  • General information about a particular Exchange Server mailbox
    Get-MailboxStatistics | ft username

    Output: Mailbox Display Name, Total Item Count, Storage Limit Status, Last Logon Time, Total Item Size

  • General information by Exchange mailboxes based on different sorting criteria
    Get general statistics of Exchange mailboxes with outputs in descending and ascending form with provided commands, respectively.

    Get-MailboxStatistics | Sort-Object TotalItemSize –Descending | ft DisplayName,TotalItemSize,ItemCount

    Get-MailboxStatistics | Sort-Object TotalItemSize –Ascending | ft DisplayName,TotalItemSize,ItemCount

  • Check on Exchange Service health
    Test-ServiceHealth

    Output: RequiredServiceRunning – True/False against each Exchange Service
    Need to run those services from services.msc.

  • Check on Mailboxes accessibility by users
    Test-MAPIConnectivity

    Output: Result for Mailbox Server and Database as Success/Failed

  • Test mail flow in/out from Exchange Server
    Test-MailFlow

    Output: TestMailflowResult as Success/Failed

  • Check Mailbox Database Mount Status
    Get-MailboxDatabase -Status | Format-List name,server,mounted

    Output: Mount Status as True if mounted, False if not mounted

  • Mount Exchange Mailbox Database
    Mount-Database -Identity <database name>

When attempting to mount the Exchange mailbox database, encountering a failure accompanied by an error message necessitates the Exchange administrator’s intervention. To address this issue, administrators have two primary options for tackling corrupt Exchange databases: a manual approach employing the Eseutil utility or a more professional solution like Kernel for Exchange Server. Initially, administrators may opt for the Eseutil application to conduct EDB repair.

If the Exchange database remains unrecoverable or if you’d rather not invest additional time in manual recovery methods, the optimal solution is to employ the advanced Exchange Server Recovery tool. This powerful tool is designed to swiftly resolve any level of corruption or issues within the Exchange Server database, effortlessly restoring access for users. It provides a comprehensive data retrieval process with a live preview feature, allowing you to assess the data before saving it to various destinations such as Outlook PST, Outlook Profiles, Office 365, or live Exchange. To experience the capabilities of this advanced tool, users can download the free trial version for evaluation before making a purchase.

Keep reading for more such helpful blogs!

Frequently Asked Questions

Q. What permissions do I require to access the Exchange Management Shell and run cmdlets on it?

A. User must be either the Exchange administrator or a user with administrator rights to access the Exchange Management Shell can run cmdlets on it.

Q. Where can I find the Eseutil application on my system?

A. The default location of the Eseutil application on the Exchange system is – C:\Program Files\Microsoft\Exchange Server\Bin

Q. How helpful is the free version of the Kernel for Exchange Server tool?

A. Using the free or trial version of the Kernel for Exchange Server tool, you can understand all the features and user interface of the tool. Besides this, you can save 25 items per folder free from Exchange Server EDB mailboxes.

Q. Why do I need to check my Exchange database health?

A. Regular monitoring and checking of Exchange Server database health is required to know the mailbox size, mount status, mail flow status, mailboxes accessibility, etc., to avoid future corruption possibilities in the Exchange Server database.

Q. Where does the Kernel for Exchange Server tool export recovered Exchange mailboxes?

A. It offers multiple options for saving recovered Exchange mailboxes like a new or existing PST file, live Exchange Server, Office 365, or Outlook profile.

Kernel for Exchange Server