EXpress.ps1
The fastest way to get Exchange Server production-ready — nobody gets from bare Windows Server to a fully installed, hardened, and optimised Exchange in less time. Prerequisites, AD prep, installation, 40+ security and performance measures: one script, one command, done.
Full server farm, single admin workstation, hardening an existing deployment, or generating post-install documentation — EXpress has a dedicated mode for each use case.
Point multiple machines at the same -ConfigFile and start them simultaneously. AutoPilot stores credentials DPAPI-encrypted, survives every reboot via RunOnce, and resumes at the correct phase — deploy an entire Exchange farm in parallel without a single interactive step.
Launch without parameters for the interactive menu. Every option is a live toggle switch, credentials are validated on entry, existing .psd1 config files are auto-detected. All the automation of EXpress — with you making every decision.
The default mode. Install Exchange 2016, 2019, or SE from scratch — all prerequisites auto-downloaded, Windows and Exchange Security Updates applied, AD prepared, Exchange installed, and 40+ hardening and performance tasks completed. Hand over a fully production-ready, documented server.
In hybrid environments, Microsoft requires Exchange to be present for modifying AD attributes of mail-enabled objects. -InstallRecipientManagement installs only what is needed to manage Exchange recipients in AD — no mailbox role, no transport services. Runs on Windows 11 or any member server.
-InstallManagementTools installs the Exchange Management Shell and admin toolset on a dedicated workstation (Windows Server or Windows 11). Manage mailboxes, distribution groups, and connectors from a central admin machine without logging on to an Exchange server directly.
Already running Exchange but installed without EXpress? -StandaloneOptimize applies the full hardening and performance stack to an existing server in one run — TLS, SMB, LSA, Extended Protection, AMSI, RSS, virtual directory URLs, certificate, log cleanup, HealthChecker, and a complete installation report. No reinstall required.
-StandaloneDocument (menu mode 7) generates a Word (.docx) installation report for an already-running Exchange server — no install flow required. 15 chapters covering configuration, hardening, certificates, connectors, runbooks, and open items. -CustomerDocument redacts IPs and sensitive values for external sharing. -Language DE|EN selects the document language.
What used to take days of manual work — researching best practices, applying hardening guides, tuning performance settings — EXpress completes automatically, while you do something else.
Automatically reboots and resumes at the correct phase via RunOnce. State is persisted to XML — safe against crashes and power failures.
TLS 1.2/1.3, SMBv1/WDigest/NetBIOS disabled, LSA Protection, Extended Protection, IPv4 over IPv6 preference, MRS Proxy and MAPI encryption hardened, Serialized Data Signing, LM level 5, SMTP banner, unnecessary Windows services disabled (Print Spooler, Fax, Secondary Logon, Smart Card, Windows Search), Shutdown Event Tracker disabled — all applied automatically with reference links in the report.
.NET 4.8/4.8.1, VC++ 2012 & 2013, UCMA 4.0, URL Rewrite — downloaded and installed automatically, skipped if already present. Windows security updates applied via Windows Update in Phase 1. The current Exchange Security Update is detected dynamically via HealthChecker's build dictionary and installed in Phase 5 without manual KB hunting.
High Performance power plan, pagefile sizing, TCP settings, RSS + NIC queues, Netlogon MaxConcurrentAPI, Exchange Search affinity — per Microsoft & CSS-Exchange recommendations.
Comprehensive post-install report: Exchange config, virtual directory URLs, certificates, security settings with best-practice comparison, HealthChecker results embedded.
Pure-PowerShell OpenXML engine — no Office required. 15-chapter .docx covering configuration, hardening, runbooks, and open items. DE/EN language selection. -CustomerDocument redacts sensitive values for external sharing.
Start without parameters for a guided installation menu. Instant toggle switches, credential validation, auto-detected config.psd1, and PS2Exe-compiled .exe support.
Export config from source server, import virtual directory URLs and connectors, import PFX certificate, join a Database Availability Group — all in one run.
Import PFX certificate, enable for IIS + SMTP (+ IMAP/POP for non-wildcard), configure HSTS on OWA/ECP. Wildcard vs. named cert detection.
HealthChecker auto-downloaded and run in Phase 6. SetupAssist triggered on Phase 4 failure. EOMT for CVE mitigation. Auth Certificate monitoring setup.
Build.ps1 wraps the script into a self-contained Windows executable via PS2Exe — runs elevated, preserves all parameters, includes version metadata.
tools/Get-EXpressDownloads.ps1 pre-fetches all prerequisite packages (.NET 4.8/4.8.1, VC++ 2012 & 2013, UCMA, URL Rewrite) and CSS-Exchange scripts (HealthChecker, EOMT, SetupAssist, ExchangeExtendedProtectionManagement, MEAC) into a local sources/ folder. Idempotent — skips files already present. Run once before carrying the folder into an air-gapped or proxy-restricted network.
The Word installation document queries every Exchange server in the organisation via CIM over WinRM (TCP 5985/5986, Kerberos) — hardware, pagefile, volumes, NICs — without DCOM or dynamic RPC ports. tools/Enable-EXpressRemoteQuery.ps1 enables WinRM on a target server in one command; optional -EnableHttps and -RestrictToGroup switches harden the endpoint. Unreachable servers get an interactive Retry / Skip prompt; Autopilot skips silently.
Supply a -TemplatePath .docx to inject your company branding — cover page, header, and footer come from the template; all 18 chapters are generated by EXpress and injected into a {{document_body}} placeholder. tools/Build-InstallationTemplate.ps1 generates the starter DE/EN templates. Tokens like {{Organization}}, {{Author}}, {{Classification}} are filled at runtime. Automatic fallback to the built-in cover page when no template is provided.
Automatically registers the access namespace root domain (e.g. contoso.com derived from mail.contoso.com) as an Authoritative Accepted Domain and updates the default Email Address Policy to use it as the primary SMTP address — removing internal suffixes like .local or .lan. Configured via -MailDomain or derived automatically from -Namespace.
EXpress runs as an interactive wizard (Copilot) or fully automated (Autopilot). The menu adapts to the selected mode, exposing only relevant options. ~55 hardening, tuning and policy knobs are accessible via the Advanced Configuration menu.
Every step you'd have to perform by hand — and what EXpress does instead.
All prerequisites downloaded and installed automatically — .NET 4.8/4.8.1, VC++ 2012 & 2013, UCMA 4.0, URL Rewrite — each only if not already present.
Windows security updates installed via Windows Update before Exchange setup. Current Exchange Security Update detected dynamically and applied automatically.
40+ hardening and performance settings applied in a single Phase 5 run — TLS, SMB, LSA, Extended Protection, AMSI, power plan, pagefile, RSS, NIC queues and more.
HealthChecker runs automatically. Results are embedded in the installation report alongside every security setting and its best-practice recommendation.
Complete HTML installation report generated at the end — proof of everything that was configured, no manual documentation required.
Word installation document (.docx) generated automatically alongside the HTML report — pure PowerShell, no Office required. DE/EN, customer-ready redaction mode included.
.\EXpress.ps1 -ConfigFile .\deploy-mbx01.psd1
State persists across reboots — EXpress picks up exactly where it left off, every time.
A zero-phase preflight runs first (checks admin rights, domain membership, OS version, AD Forest/Domain level, static IP, free disk space; generates an HTML pre-flight report), then the six install phases below execute automatically.
All required Windows Server roles and features installed in a single batch. Windows security updates applied automatically via Windows Update — no manual patch hunting. Source server config exported for swing migrations.
.NET Framework 4.8 / 4.8.1 (OS-aware), OS-specific hotfixes, VC++ 2012 / 2013 Redistributables (12.0.40664+), URL Rewrite 2.1 — all downloaded automatically, skipped if already installed. Reboot before Phase 3 is conditional: skipped when Windows reports no pending reboot.
Unified Communications Managed API 4.0. PrepareAD / PrepareSchema / PrepareAllDomains with optional AD replication wait.
Runs setup.exe with the correct role switches. Autodiscover SCP pre-configured. Transport services set to Manual for safe startup. SetupAssist on failure.
40+ security and performance tasks: TLS 1.2/1.3 enforcement, SMBv1/WDigest/NetBIOS/HTTP2 disabled, unnecessary Windows services disabled (Print Spooler, Fax, Secondary Logon, Smart Card, Windows Search), Shutdown Event Tracker disabled, LSA Protection, Extended Protection, IPv4 preference, MRS Proxy/MAPI encryption, RSS/MaxConcurrentAPI, pagefile, NodeRunner, HSTS, latest Exchange Security Update (dynamic detection), virtual directory URLs, Exchange-level optimizations. Reboot before Phase 6 is conditional: skipped when the SU didn't request one and no pending reboot is signalled.
Start services, IIS health check, DAG join, RBAC report, anti-spam agents, send connector integration, log cleanup task, HealthChecker, HTML + PDF installation report, Word installation document.
Start the script, walk away. EXpress handles every reboot, every prerequisite, every hardening step — and hands you a complete installation report when it's done.
EXpress doesn't just deploy — it proves it. 9-section HTML installation report plus a full Word handover document (18 chapters) with CIS / BSI IT-Grundschutz compliance mapping, GDPR checklist, RBAC role-group members, retention-tag inventory, SIEM/forensics guidance, change-management and acceptance-test sections — generated on every run. ISO 27001, BSI IT-Grundschutz and GDPR audits without manual post-processing.