PS: Script license assigning for Office 365
Wanted to share a script for assigning Licenses to Office 365 Users based on Security Groups in Your local Active Directory. #Command One – Find users in local Security Group $LyncGroup=Get-ADGroupMember -Identity ‘LyncOnline’ -Recursive | %{get-aduser $_.samaccountname} | Select UserPrincipalName #$LyncGroup is just a placeholder for every users UserPrinciplaName found in the Security Group […]