A high-performance PowerShell script to generate modern HTML dashboards for your Microsoft Exchange Server infrastructure.
This project is a modernized 3.1 evolution by B.O based on the original work by Steve Goodman and Thomas Stensitzki.
- Original Script: Get-ExchangeEnvironmentReport
- β‘ Ultra-Fast: Uses "Bulk Collection" logic (single query per server) to scan massive infrastructures in seconds.
- π KPI Dashboard: Immediate overview (Active/Archive Mailboxes, Database Whitespace, Server Health).
- π¨ 100% Customizable: Adapt the report's logo, title, and colors to your corporate branding via simple parameters.
- π Visual Gauges: Instant monitoring of disk space (Database & Logs) with color codes.
- π‘οΈ Secure by Design: No complex external calls. Easily hostable on IIS.
- π Live Filtering: Interactive sorting and filtering directly in your browser.
- π§ Email Support: Automated delivery of HTML reports to your mailbox.
- π Certificate Badges: Visual breakdown of IIS, SMTP, POP, IMAP, and AUTH certificates.
- OS: Windows Server 2012 R2 or higher.
- Exchange: Management Shell (EMS) installed.
- Permissions: Member of
Organization ManagementorView-Only Organization Managementgroup. - Network: WinRM (5985) and RPC/DCOM open to target servers.
- Download the
Get-ExchangeEnvironmentReport.ps1file. - Run the script from an Exchange Management Shell (Administrator).
.\Get-ExchangeEnvironmentReport.ps1 `
-HTMLReport "C:\inetpub\wwwroot\Report\Exchange_Status.html"You can adapt the report to your visual identity:
.\Get-ExchangeEnvironmentReport.ps1 `
-HTMLReport "C:\Reports\Dashboard.html" `
-CompanyLogo "MYCORP" `
-ReportTitle "MESSAGING OPS" `
-ThemeColor "#0078D4"| Parameter | Description | Default |
|---|---|---|
-CompanyLogo |
The "Logo" text top left (e.g., Company Name). | EXCHANGE |
-ReportTitle |
The main title of the report. | REPORTING |
-ThemeColor |
HEX color code for titles, borders, and theme. | #F27A00 |
.\Get-ExchangeEnvironmentReport.ps1 `
-HTMLReport "C:\Reports\Daily.html" `
-SendMail $true `
-MailFrom "report@mycorp.com" `
-MailTo "admins@mycorp.com" `
-MailServer "smtp.mycorp.com"To restrict access to the HTML report (e.g., Internal only), it is recommended to configure IP Address and Domain Restrictions directly on your IIS web server. The script does not handle authentication to remain lightweight and compatible.
This script is a "Community Standard". Feel free to open Pull Requests to add DAG metrics, Transport queues, or optimizations.
- Added: Restored Email Delivery functionality (
Send-MailMessage). - Added: Client-side filtering and sorting in the HTML report.
- Added: Advanced Certificate Analysis with service badges (IIS, SMTP, POP, IMAP, AUTH).
- Added: Visible versioning in console and HTML footer/header.
- Improved: Optimized data collection logic using lookup tables.
License: MIT Author: B.O