{"id":2530,"date":"2018-07-20T05:35:58","date_gmt":"2018-07-20T05:35:58","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=2530"},"modified":"2018-07-20T05:36:44","modified_gmt":"2018-07-20T05:36:44","slug":"enable-imap-on-all-exchange-20132016-servers","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=2530","title":{"rendered":"Enable IMAP on all Exchange 2013\/2016 Servers"},"content":{"rendered":"<p>IMAP and POP3 are disabled on Exchange Server 2013 and 2016 servers by default. Chances are if you need to enable it, you\u2019ll need to enable it on all your servers at once. Fortunately, PowerShell makes this easy!<\/p>\n<p>Run Exchange Management Shell as administrator on an Exchange server and execute the following:<\/p>\n<h1 id=\"powershell-script-to-enable-imap-on-all-servers\">PowerShell Script to enable IMAP on all servers<\/h1>\n<div id=\"gist41503542\" class=\"gist\">\n<div class=\"gist-file\">\n<div class=\"gist-data\">\n<div class=\"js-gist-file-update-container js-task-list-container file-box\">\n<div id=\"file-enableimaponallservers-ps1\" class=\"file\">\n<div class=\"blob-wrapper data type-powershell\">\n<table class=\"highlight tab-size js-file-line-container\" data-tab-size=\"8\">\n<tbody>\n<tr>\n<td id=\"file-enableimaponallservers-ps1-L1\" class=\"blob-num js-line-number\" data-line-number=\"1\"><span style=\"color: #00ff00;\">\u00a0<\/span><\/td>\n<td id=\"file-enableimaponallservers-ps1-LC1\" class=\"blob-code blob-code-inner js-file-line\"><span style=\"color: #00ff00;\"><span class=\"pl-smi\">$Servers<\/span> <span class=\"pl-k\">=<\/span> <span class=\"pl-c1\">Get-ExchangeServer<\/span> <span class=\"pl-k\">|<\/span> <span class=\"pl-k\">?<\/span> IsE15OrLater <span class=\"pl-k\">|<\/span> Select <span class=\"pl-k\">&#8211;<\/span>exp Name<\/span><\/td>\n<\/tr>\n<tr>\n<td id=\"file-enableimaponallservers-ps1-L2\" class=\"blob-num js-line-number\" data-line-number=\"2\"><span style=\"color: #00ff00;\">\u00a0<\/span><\/td>\n<td id=\"file-enableimaponallservers-ps1-LC2\" class=\"blob-code blob-code-inner js-file-line\"><span style=\"color: #00ff00;\"><span class=\"pl-c1\">Get-Service<\/span> <span class=\"pl-k\">&#8211;<\/span>ComputerName <span class=\"pl-smi\">$servers<\/span> <span class=\"pl-k\">&#8211;<\/span>Name \u201cMSExchangeIMAP4\u201d<span class=\"pl-k\">,<\/span>\u201dMSExchangeIMAP4BE\u201d <span class=\"pl-k\">|<\/span> <span class=\"pl-c1\">Set-Service<\/span> <span class=\"pl-k\">&#8211;<\/span>StartupType Automatic<\/span><\/td>\n<\/tr>\n<tr>\n<td id=\"file-enableimaponallservers-ps1-L3\" class=\"blob-num js-line-number\" data-line-number=\"3\"><span style=\"color: #00ff00;\">\u00a0<\/span><\/td>\n<td id=\"file-enableimaponallservers-ps1-LC3\" class=\"blob-code blob-code-inner js-file-line\"><span style=\"color: #00ff00;\"><span class=\"pl-c1\">Get-Service<\/span> <span class=\"pl-k\">&#8211;<\/span>ComputerName <span class=\"pl-smi\">$servers<\/span> <span class=\"pl-k\">&#8211;<\/span>Name \u201cMSExchangeIMAP4\u201d<span class=\"pl-k\">,<\/span>\u201dMSExchangeIMAP4BE\u201d <span class=\"pl-k\">|<\/span> <span class=\"pl-c1\">Start-Service<\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>IMAP and POP3 are disabled on Exchange Server 2013 and 2016 servers by default. Chances are if you need to enable it, you\u2019ll 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58,62,59],"tags":[],"class_list":["post-2530","post","type-post","status-publish","format-standard","hentry","category-exchange-2013","category-microsoft-exchange-server-2016","category-powershell"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2530"}],"version-history":[{"count":2,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2530\/revisions"}],"predecessor-version":[{"id":2532,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2530\/revisions\/2532"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}