Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2012-07-23

This topic explains how to use the Shell to test the operation of a computer running Microsoft Exchange Server 2010 that has the Unified Messaging (UM) server role installed. When you perform the following procedure, the Unified Messaging server initiates a diagnostic Session Initiation Protocol (SIP) call, and then returns a health state variable of the Unified Messaging server.

This diagnostic test can be run only on a local Unified Messaging server, and you can't test the operation of the Unified Messaging server using the EMC.

Looking for other management tasks related to UM servers? Check out Managing Unified Messaging Servers.

Prerequisites

Use the Shell to test the operation of the Unified Messaging server

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "UM server" entry in the Unified Messaging Permissions topic.

This example performs connectivity and operational tests on the local Unified Messaging server, and then displays the Voice over IP (VoIP) connectivity information.

Copy Code
Test-UMConnectivity

This example tests the ability for a local UM server to listen for incoming unencrypted SIP requests on TCP port 5060.

Copy Code
Test-UMConnectivity -ListenPort 5060

This example tests the ability for a local UM server to listen for incoming encrypted SIP requests on TCP port 5061.

Copy Code
Test-UMConnectivity -ListenPort 5061
Note:
Use mode 1 when the -UMIPGateway parameter isn't specified.
Note:
You can set the -Timeout parameter with a value of less than 5 seconds. However, we recommend that you always configure this parameter with a value of 5 seconds or more.

For more information about syntax and parameters, see Test-UMConnectivity.

Other Tasks

After you test the operation of the Unified Messaging server and telephony components, you may also want to: