Microsoft UC (Unified Communcation)

Your one stop resource. (Microsoft Exchange & UC)

Enable Users for Lync Server 2010

No Comments »

This post will help you for enabling users for Lync Server 2010 from CommandShell,

and it will be series of post where we will find different cmdlets used by Lync Management Shell

for Administration.

 

Enables one or more users for Microsoft Lync Server 2010.

Because you need to enable Users for logging in to Lync 2010,

and Microsoft is pushing PowerShell for administration,

that’s why we are going to enable our users from PowerShell not from Lync Control Panel.

Enable-CsUser -Identity “Shafaquat Ali. Awan” -RegistrarPool “Lync.WhatDoUC.net” -SipAddressType SamAccountName  -SipDomain WhatDoUC.net

Enable-CsUser is the cmdlet which enables the user account with the display name Shafaquat Ali. Awan.

In this example, the user is assigned to the Registrar pool lync.WhatDoUC.net,

and Lync Server auto-generates the SIP address by using the user’s SamAccountName (shafaquat.ali)

followed by the SIP domain WhatDoUC.net.

Here we are using this command with some different scenario.

Enable-CsUser -Identity "Shafaquat Ali. Awan" -RegistrarPool "Lync.WhatDoUC.net"
-SipAddress "sip:shafaquat.ali@WhaoDoUC.net"

 

 

If you want to enable more than one users with single cmdlet than you need to use this command in below method.

Get-CsAdUser -LDAPFilter "department=Sales" | Enable-CsUser -RegistrarPool "Lync.WhatDoUC.net"
-SipAddressType SamAccountName  -SipDomain WhatDoUC.net

I hope this will be informative for you and I would like to Thank you for viewing.