Enable IMAP on all Exchange 2013/2016 Servers
Written on August 3, 2016

IMAP and POP3 are disabled on Exchange Server 2013 and 2016 servers by default. Chances are if you need to enable it, you’ll need to enable it on all your servers at once. Fortunately, PowerShell makes this easy!

Run Exchange Management Shell as administrator on an Exchange server and execute the following:

PowerShell Script to enable IMAP on all servers

$Servers = Get-ExchangeServer | ? IsE15OrLater | Select -exp Name
Get-Service -ComputerName $servers -Name MSExchangeIMAP4,MSExchangeIMAP4BE | Set-Service -StartupType Automatic
Get-Service -ComputerName $servers -Name MSExchangeIMAP4,MSExchangeIMAP4BE | Start-Service


There's no commenting functionality here. If you'd like to comment, please either mention me (@chris@aus.social) on Mastodon or email me. I don't have any logging or analytics running on this website, so if you found something useful or interesting it would mean a lot to hear from you.