PowerShell » Get-MailboxServer

How to check all mailboxes that are currently active in Microsoft Exchange using PowerShell scripts

Your download is in progress and it will be complete in just a few seconds! If you face any issues, download manually here
Stay informed about Exchange with
Exchange Reporter Plus
  • Please enter business email address
  •  
    By clicking 'Proceed to Download', you agree to processing of personal data according to the Privacy Policy. You can unsubscribe from our mails at anytime.

Using the Get-MailboxServer cmdlet in PowerShell allows administrators to gather comprehensive details about all mailbox servers within their Exchange organization. The steps mentioned below can be used to check all mailboxes that are currently active in your Exchange environment using Windows PowerShell. ManageEngine Exchange Reporter Plus, an extensive tool used for reporting, auditing, monitoring, and creating alerts for critical activities in your Exchange environment, can also be used for this purpose.

The following table is a comparison on how to check all mailboxes that are currently active in Microsoft Exchange using Windows PowerShell and Exchange Reporter Plus.

Windows PowerShell

Steps to check all mailboxes currently active in Microsoft Exchange using Windows PowerShell

  1. Execute the following PowerShell cmdlet.

    Get-MailboxServer

    This open-ended cmdlet lists all the mailbox users in your Exchange organization.

  2. To retrieve information about a particular Exchange mailbox server, execute the following PowerShell cmdlet with the required parameter exchangeserver. Here, exchangeserver refers to the Exchange server you wish to check for active mailboxes.
    Get-MailboxServer -Identity <exchangeserver>
  3. To retrieve information about a particular Exchange mailbox server in a list format, execute the following PowerShell cmdlet with the required parameter exchangeserver.
     Copied
    Get-MailboxServer -Identity <exchangeserver> | Format-List
    Click to copy entire script

Exchange Reporter Plus

  1. Log in to Exchange Reporter Plus and navigate to Reports > Exchange Server > Mailboxes > General Reports > Mailbox Enabled Users.
  2. Enter the Exchange Organization for which you want to generate the report.

Limitations of using Windows PowerShell for checking all mailboxes that are currently active

  • Administrators must have the following permissions if they wish to execute the above-mentioned PowerShell script.
    • Local Administrator rights
    • The Exchange Organization Management role
    • Remote PowerShell access
  • Only technicians with PowerShell expertise can execute these commands, and the time-consuming nature of PowerShell scripts can impact productivity.

Benefits of using Exchange Reporter Plus to check all mailboxes that are currently active

  • Eliminate Exchange privilege elevation: Delegate custom roles to technicians to fetch reports regarding your Exchange environment without the need to elevate their native Exchange privileges.
  • Script-free reporting: Generate comprehensive reports on various aspects of your Exchange environment without the need to memorize or execute complex PowerShell scripts.
  • Over 450 intuitive reports: Generate comprehensive reports on all aspects of Exchange Server, Exchange Online, and Skype for Business. These reports can be exported as CSV, HTML, PDF, XLS or XLSX files.
  • Customized audit profiles: Create actions that you want to audit, and schedule profiles to generate audit reports at regular intervals.
  • 24/7 endpoint and services monitoring: Monitor Exchange server services, databases, database availability groups, storage, and email queues to ensure a hassle-free environment.
  • Mailbox content search: Perform pattern and keyword-based searches to find important information in your organization's mailboxes.
  • Real-time alerts: Configure alert profiles to receive immediate SMS or email notifications when a specific alert is triggered.
  • Exchange migration: Transfer emails, contacts, tasks, and calendars from Exchange Server to Exchange Online with ease.

Easily check all active mailboxes in your Exchange environment.

  Try now for free
A single pane of glass for Exchange Server Monitoring, Reporting and Auditing