Topic Last Modified: 2013-02-21

When you’re integrating Microsoft Lync Server with Exchange Unified Messaging (UM), you have to run the ExchUcUtil.ps1 script in the Shell. The ExchUcUtil.ps1 script does the following:

Important:
Each UM forest must be configured to trust the forest in which Lync Server 2013 is deployed, and the forest in which Lync Server 2013 is deployed must be configured to trust each UM forest. If Exchange UM is installed in multiple forests, the Exchange Server integration steps must be performed for each UM forest or you’ll have to specify the Lync Server domain. For example, ExchUcUtil.ps1 –Forest:<lync-domain-controller-fqdn>.

For additional management tasks related to integrating Lync Server and Unified Messaging, see Integrate Exchange 2013 UM with Lync Server.

What do you need to know before you begin?

  • Estimated time to complete: 2 minutes.

  • You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Permissions Cmdlets” entry in the Exchange 2013 Cmdlets topic.

  • For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard Shortcuts in the Exchange Admin Center.

Tip:
Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection.

Use the Shell to run the ExchUcUtil.ps1 script

Run the ExchUcUtil.ps1 script on any Exchange server in your organization in the same topology as Microsoft Lync Server. You can run the script from a Mailbox server using the Shell or you can optionally run the script using Remote Windows PowerShell on a Client Access server. If you run the script on a Client Access server in your organization, the Client Access server will proxy the Remote Windows PowerShell session to a Mailbox server in the organization.

Important:
You must have the permissions of the Exchange Organization Management role or be a member of the Exchange Organization Administrators security group.
  1. Open the Exchange Management Shell.

  2. At the C:\Windows\System32 prompt, type cd “<drive letter>\Program Files\Microsoft\Exchange Server\V15\Scripts>.ExchUcUtil.ps1”, and then press Enter.

How do you know this worked?

To verify that the ExchUcUtul.ps1 script completed successfully, do the following:

  • Use the Get-UMIPGateway cmdlet or the EAC to view the new UM IP gateway or gateways that were created.

  • Use the Get-UMHuntGroup cmdlet or the EAC to view the new UM hunt group or groups that were created.