为所有用户启用Lync,并且禁用语音和视频功能
Get-CsAdUser -OU "OU=xxx,dc=demo,dc=com,dc=cn" |Set-CsUser -AudioVideoDisabled $True
查找有邮件地址但是没有启用Lync的用户
Get-CsAdUser -OU "OU=User,OU=Corp,dc=domain,dc=com" -Filter {WindowsEmailAddress -ne $Null} | where-object {$_.Enabled -ne $True} | Enable-CsUser -RegistrarPool pool.domain.com -SipAddressType EmailAddress | Set-Csuser -AudioVideoDisabled $True
1.-AudioVideoDisabled
2. -IPPBXSoftPhoneRoutingEnabled
3.-RemoteCallControlTelephonyEnabled
4.-EnterpriseVoiceEnabled
2. -IPPBXSoftPhoneRoutingEnabled
3.-RemoteCallControlTelephonyEnabled
4.-EnterpriseVoiceEnabled
本文转自legendfu51CTO博客,原文链接: http://blog.51cto.com/legendfu/1068207
,如需转载请自行联系原作者