Search This Blog

Wednesday 18 July 2012

Lync Server 2010 - Add / Enable users in a Security group

The Challenge
In large complex Active directory's, there tends to be a challenge when targeting certain users across many OU`s. This article describes the process to enable users based on membership of certain groups.

Resolution
From Lync Powershell simply user the -Filter option as per below, changing the required text to match your needs.

Get-CsAdUser -LDAPFilter memberof=cn="MySecurityGroup,ou=mylowestou,ou=myou1,dc=mydomain,dc=co,dc=uk" | Enable-CsUser -RegistrarPool mylyncpool.mydomain.co.uk -SipAddressType EmailAddress

No comments:

Post a Comment