为所有用户启用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
阅读(2227) | 评论(0) | 转发(0) |