Forum Discussion
WelshViking
May 15, 2019Brass Contributor
Teams user info automation
I am hoping someone can provide me with some info. I want to be able to run a script that allows me to assign the following to multiple users replacing each user identity and tel number with what...
- May 15, 2019
Assuming you have a blabla.csv with the Identity column designating the user and the Telephone column designating the number, this should do:
Import-CSV blabla.csv | % { Set-CsUser -Identity $_.Identity -EnterpriseVoiceEnabled $true -OnPremLineURI $_.Telephone }
VasilMichev
May 15, 2019MVP
Assuming you have a blabla.csv with the Identity column designating the user and the Telephone column designating the number, this should do:
Import-CSV blabla.csv | % { Set-CsUser -Identity $_.Identity -EnterpriseVoiceEnabled $true -OnPremLineURI $_.Telephone }