基于PowerShell的Lync Server管理 使用C# 之 Telephony 功能 查看 /修改

本以为这个属性可以在用户信息中直接反应出来,但是看了好几遍还是没找到这个属性名称

 

这个功能没有在get-User 的结果中直接反映出来 但是可以通过 Property 查找单个选项 如:

Get-CsUser User1 | Select-Object EnterpriseVoiceEnabled,AudioVideoDisabled,RemoteCallControlTelephonyEnabled 

参考:http://blog.schertz.name/2012/05/viewing-lync-user-telephony-modes-in-powershell/


 设置Telephony  对应图形界面的设置 ,代码实现方式见下表 IPPBXSoftPhoneRoutingEnabled  功能不是所有服务器都有,如果没有此功能去操作它 会出现错误

开启企业语音
Set-CsUser "User1"  –EnterpriseVoiceEnabled $True –AudioVideoDisabled $False –RemoteCallControlTelephonyEnabled $False –IPPBXSoftPhoneRoutingEnabled $False
PC-to-PC only  全部关掉如图 
 
 
Set-CsUser "User1" –RemoteCallControlTelephonyEnabled $False –EnterpriseVoiceEnabled $False –AudioVideoDisabled $False –IPPBXSoftPhoneRoutingEnabled $False 

 

Control Panel option

IPPBXSoftPhone
RoutingEnabled

AudioVideo
Disabled

RemoteCallControl
TelephonyEnabled

EnterpriseVoice
Enabled

Audio/video disabled

$False

$True

$False

$False

PC-to-PC only

$False

$False

$False

$False

Enterprise Voice

$False or $True

$False

$False

$True

Remote call control

$False

$False

$True

$False

 

 

参考:http://blogs.technet.com/b/nexthop/archive/2010/06/06/howtotelephony.aspx

 

转载于:https://www.cnblogs.com/Qbit/p/Lync-Server-2.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值