none
Automatically enable users in a particular OU for Lync 2013 and set Telephony=EnterpriseVoice RRS feed

  • Question

  • Hello ,

    This script it works fine but it doesn't  change the Telephony to 'EnterpriseVoice' 

    get-Csaduser -filter {Enabled -ne $True} -OU "OU=XXX,OU=XXX,OU=XXX ,DC=XXX,DC=XXX,DC=XXX,DC=XXX"  | Enable-CsUser -RegistrarPool XXX  -SipAddressType SamAccountName -SipDomain XXX.com |Set-CsUser -EnterpriseVoiceEnabled $true;

    if i run it as seperate command like:  Set-CsUser -EnterpriseVoiceEnabled $true  -Identity "contoso\kenmyer" it will work...

    Do you know what i do wrong?

    Thank you

    Thursday, December 14, 2017 12:51 AM

Answers

All replies