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:
- Creates a UM IP gateway for each Lync Server pool.
- Creates a UM hunt group for each UM IP gateway. The pilot
identifier of each hunt group specifies the UM SIP URI dial plan
used by the Lync Server Front End pool or Standard Edition server
that’s associated with the UM IP gateway.
- Grants Lync Server permission to read Active Directory UM
container objects such as UM dial plans, auto attendants, UM IP
gateways, and UM hunt groups.
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. |
- Open the Exchange Management Shell.
- 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.