Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Powershell 在团队通话中,如何自动设置Skype的业务状态?_Powershell_Microsoft Teams_Skype For Business - Fatal编程技术网

Powershell 在团队通话中,如何自动设置Skype的业务状态?

Powershell 在团队通话中,如何自动设置Skype的业务状态?,powershell,microsoft-teams,skype-for-business,Powershell,Microsoft Teams,Skype For Business,我撞到墙了,所以我问我最喜欢的社区。我为团队的业务活动状态创建了自定义Skype,因此当您在团队通话中时,您可以手动将SfB中的状态设置为“在团队通话中”。在搜索了很多天之后,我仍然没有找到一种方法来自动设置这个状态。是否有SfB插件或服务可用于运行此功能?这是为SfB(在Prem上)准备的。我主要在PowerShell中编写脚本,但如有任何指导,将不胜感激。@John,Microsoft团队将取代Skype for Business Online,成为Microsoft的专业在线会议解决方案。

我撞到墙了,所以我问我最喜欢的社区。我为团队的业务活动状态创建了自定义Skype,因此当您在团队通话中时,您可以手动将SfB中的状态设置为“在团队通话中”。在搜索了很多天之后,我仍然没有找到一种方法来自动设置这个状态。是否有SfB插件或服务可用于运行此功能?这是为SfB(在Prem上)准备的。我主要在PowerShell中编写脚本,但如有任何指导,将不胜感激。

@John,Microsoft团队将取代Skype for Business Online,成为Microsoft的专业在线会议解决方案。有关此项的更多信息,请检查此项


要获取/设置用户状态,可以使用状态图API。有关状态图API的更多信息,请检查此

我创建了一个windows服务,以使用此图API检查我的团队状态。如果返回InACall,我将使用Skype for Business Module将我的活动设置为In-A-Call

示例代码: