#This script get group members and check for users that is not enabled for lync and enable these users using e-mail address (PC to PC not enterprise voice)
01 | Import -Module activedirectory |
03 | $groupmember = Get -ADGroupMember lync |
04 | foreach ( $member in $groupmember ) |
06 | $aduser = Get -CsAdUser -Identity $member .Name | Where-Object {$_.enabled -ne "true" } |
09 | Enable -CsUser -identity $aduser .identity -RegistrarPool lyncse.coex.com -SipAddressType emailaddress |
Drea de Matteo Trista Rehn Moon Bloodgood Kristin Kreuk Molly Sims
No comments:
Post a Comment