PowerShell » How to check hidden mailboxes

How to check hidden mailboxes 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.

Exchange Online Reports

Using PowerShell scripts to check hidden mailboxes in Exchange involves using the Get-Mailbox cmdlet, with which administrators can gain insights into the visibility status of mailboxes in their Exchange environment. The steps mentioned below can be used to check hidden mailboxes 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 hidden mailboxes in Microsoft Exchange using Windows PowerShell and Exchange Reporter Plus.

Windows PowerShell

Steps to check hidden mailboxes using Windows PowerShell

  • Execute the following PowerShell cmdlet.
 Copied
Get-Mailbox ` | Where-Object { $_.HiddenFromAddressListsEnabled -eq $true } ` | Select-Object DisplayName, PrimarySmtpAddress
Click to copy entire script

This open-ended cmdlet lists only the user-created mailboxes that have been hidden from the address list in your Exchange organization.

Exchange Reporter Plus

Steps to check hidden mailboxes using Exchange Reporter Plus

  • Log in to Exchange Reporter Plus and navigate to Reports > Exchange Server > Mailboxes > General Reports > Hidden Mailboxes.
  • Select the Exchange organization for which you want to generate the report.

Limitations of using Windows PowerShell for checking hidden mailboxes

  • Only the user-created mailboxes that have been hidden from the address list in your Exchange organization can be viewed using Windows PowerShell.
  • 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 hidden mailboxes

  • Eliminate Exchange privilege elevation: Delegate custom roles to technicians to fetch reports regarding your Exchange environment without the need to elevate technicians' 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.
A single pane of glass for Exchange Server Monitoring, Reporting and Auditing