基于C#的Lync Server管理
作者:网络转载 发布时间:[ 2013/7/29 10:33:17 ] 推荐标签:
3、远程运行空间创建成功后,可以创建管理,运行Lync管理命令
Pipeline pipe=runspace.CreatePipeline();
Command cmd = new Command("Get-CsUser");
cmd.Parameters.Add("identity", "test");
pipe.Invoke();
现在我们可以通过这种方式,远程执行各种管理命令,而不需要再登陆到Lync服务器。
Exchange服务器的管理类似Lync,这方面微软做的还是不错的。
4、常用的Lync管理命令
启用:Enable-CsUser -Identity xx -RegistrarPool (lync注册池) -SipAddressType
禁用:Disable-CsUser -identity xx
开启语音功能:Set-CsUser -identity xx -EnterpriseVoiceEnable $true -LineURI "TLE:xx"
本文内容不用于商业目的,如涉及知识产权问题,请权利人联系SPASVO小编(021-61079698-8054),我们将立即处理,马上删除。

sales@spasvo.com