【发布时间】:2021-02-18 02:54:39
【问题描述】:
所以,既然我的公司迫切需要 Microsoft Teams,我正在寻找一些 powershell 自动化。我安装了模块版本1.0.5 (currently the latest),我看到documentation on how to add users to team channels。
使用这些 commandlet 时出现 cmdlet not found 错误
Get-TeamChannelUser : The term 'get-teamchanneluser' is not recognized as the name of a cmdlet, function, script file...
看,get-command -module MicrosoftTeams 不返回带有 TeamChannelUser(获取、删除或设置)的 cmdlet。
我已经尝试过旧版本的模块,但我仍然看到相同的症状。有其他人能够重现这个吗?有什么解决方法吗?
【问题讨论】:
-
get-command -module MicrosoftTeams CommandType Name Version Source ----------- ---- -------- ------ Cmdlet Get-Team 1.0.5 MicrosoftTeams Cmdlet Get-TeamChannel 1.0.5 MicrosoftTeams Cmdlet Get-TeamHelp 1.0.5 MicrosoftTeams Cmdlet Get-TeamsApp 1.0.5 MicrosoftTeams Cmdlet Get-TeamUser 1.0.5 MicrosoftTeams
-
请把信息放在您的问题中……而不是在 cmets 中。当包装在代码格式中时,它实际上是可读的... [grin]
标签: powershell microsoft-teams