Created
December 21, 2015 10:40
-
-
Save mcnemesis/033a01861b7b89350fe9 to your computer and use it in GitHub Desktop.
How to automatically import all (or some) AD users into Lync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ADUser -filter {name -like "*"} | Select SamAccountname | Foreach { $username=$_.SamAccountname; enable-csuser -identity REA\${username} -RegistrarPool YOUR.POOL.FQDN -SipAddressType EmailAddress } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment