Powershell Script get group members and check for users that are not enabled for lync and enable these users using e-mail address
Article
#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 -Moduleactivedirectory
02
Import -Modulelync
03
$groupmember= Get -ADGroupMemberlync
04
foreach($memberin$groupmember)
05
{
06
$aduser= Get -CsAdUser -Identity$member.Name | Where-Object{$_.enabled -ne"true"}