Exchange Server PowerShell Snippets
50+ PowerShell snippets for Exchange Server administration and troubleshooting.
Professional Exchange Support: https://medhacloud.com/professional-services/server-support/exchange-server-support
Features
- Health check scripts
- Mail flow diagnostics
- DAG management
- Certificate monitoring
- Mailbox statistics
- Permission exports
- And much more!
Usage
Type the snippet prefix in a PowerShell file and press Tab or Enter.
Available Snippets
| Prefix |
Description |
ex-health |
Comprehensive Exchange health check |
ex-mailflow |
Mail flow and queue status |
ex-dag |
DAG replication health check |
ex-certs |
Certificate status and expiry |
ex-mbxstats |
Mailbox statistics report |
ex-largemailbox |
Find large mailboxes |
ex-permissions |
Export mailbox permissions |
ex-sendas |
Get Send-As permissions |
ex-smtp |
Test SMTP connectivity |
ex-transportrules |
List transport rules |
ex-connectors |
Send/receive connectors |
ex-dbsize |
Database size report |
ex-newmailbox |
Create new mailbox |
ex-messagetrack |
Message tracking search |
ex-owa |
OWA virtual directory config |
ex-ews |
EWS virtual directory config |
ex-autodiscover |
Autodiscover configuration |
ex-archive |
Enable mailbox archive |
ex-forwarding |
Find forwarding rules |
medhacloud |
Support information |
About MedhaCloud
- 9+ years of Microsoft expertise
- 1,200+ active customers
- ISO 27001:2022 & SOC 2 Type II certified
- Microsoft Partner
Links
License
MIT - MedhaCloud
| |