How to test IMAP connectivity

Share this:

In some situations the administrator has to test connectivity of any given protocol, and Exchange Server offers a cmdlet for the vast majority of protocols, in this Tutorial we are going to over the simple steps to test IMAP using Exchange Server 2013.

Solution


The cmdlet to test it is Test-IMAPConnectvitiy, however in order to use it a a test user account is required. When the test user account is not created the following error message will be displayed.

image

To create the test user account these following steps are required. A new account with prefix extest_ will be created as part of the process.

cd $exscripts

.New-TestCASConnectivityUser.ps1

image

Having the test account in place, we can execute the cmdlet without any parameters to get the results, but the administrator can use the | fl and that will provide more information about the test process.

Test-IMAPConnectivity | fl

image

Using these simple steps listed above the administrator can test IMAP connectivity using Exchange Management Shell.

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).

Related Post

How to Remove an Exchange Server using ADSIEdit.ms... In some cases, an Exchange server can be beyond recover, and no longer necessary, and for this kind of situation the administrator may use ADSIEdit.ms...
Rollup Update for Exchange Server 2007/2010 and Se... Exchange Team has just released Rollup Updates for Exchange Server 2007/2010 and Security Updates for Exchange Server 2013. Update Rollup 2 For Exch...
How to.. generate a list of all ActiveSync devices... In Today’s post we are going over a simple cmdlet to generate a list of all ActiveSync devices that you have in your organization For starters, we ca...
Exporting PSTs based on Organization Unit In some scenarios the administrator may want to export all mailboxes of a specific OU to PST. Using Exchange Server 2013/2016 this can be accomplished...