Powershell 参数-找不到RoomList
我正在尝试通过PowerShell在O365中为我的公司创建新的房间分配列表 我想在MS团队中列出这些房间,以便我可以通过团队客户端预订 据我所知,步骤非常简单Powershell 参数-找不到RoomList,powershell,outlook,microsoft-teams,o365security-compliance,Powershell,Outlook,Microsoft Teams,O365security Compliance,我正在尝试通过PowerShell在O365中为我的公司创建新的房间分配列表 我想在MS团队中列出这些房间,以便我可以通过团队客户端预订 据我所知,步骤非常简单 创建以文件室邮箱为成员的新通讯组列表 New DistributionGroup-名称为“ShRooms”-成员room1@contoso.com,room2contoso.com 将组设置为RoomList 设置DistributionGroup-标识“ShRooms”-房间列表 但我得到的不是积极的结果,而是: A paramete
New DistributionGroup-名称为“ShRooms”-成员room1@contoso.com,room2contoso.com
设置DistributionGroup-标识“ShRooms”-房间列表
但我得到的不是积极的结果,而是:
A parameter cannot be found that matches parameter name 'RoomList'.
+ CategoryInfo : InvalidArgument: (:) [Set-DistributionGroup], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Set-DistributionGroup
+ PSComputerName : outlook.office365.com
我试过了
(获取命令集DistributionGroup)。参数
得到
Key Value
--- -----
WindowsEmailAddress System.Management.Automation.ParameterMetadata
RejectMessagesFromSendersOrMembers System.Management.Automation.ParameterMetadata
AcceptMessagesOnlyFromDLMembers System.Management.Automation.ParameterMetadata
CustomAttribute10 System.Management.Automation.ParameterMetadata
ModerationEnabled System.Management.Automation.ParameterMetadata
ExtensionCustomAttribute4 System.Management.Automation.ParameterMetadata
Identity System.Management.Automation.ParameterMetadata
CustomAttribute8 System.Management.Automation.ParameterMetadata
DisplayName System.Management.Automation.ParameterMetadata
Confirm System.Management.Automation.ParameterMetadata
CustomAttribute3 System.Management.Automation.ParameterMetadata
Name System.Management.Automation.ParameterMetadata
CustomAttribute5 System.Management.Automation.ParameterMetadata
ReportToManagerEnabled System.Management.Automation.ParameterMetadata
CustomAttribute7 System.Management.Automation.ParameterMetadata
BypassModerationFromSendersOrMembers System.Management.Automation.ParameterMetadata
PipelineVariable System.Management.Automation.ParameterMetadata
AcceptMessagesOnlyFromSendersOrMembers System.Management.Automation.ParameterMetadata
ExtensionCustomAttribute2 System.Management.Automation.ParameterMetadata
RejectMessagesFrom System.Management.Automation.ParameterMetadata
WarningVariable System.Management.Automation.ParameterMetadata
CustomAttribute6 System.Management.Automation.ParameterMetadata
SendOofMessageToOriginatorEnabled System.Management.Automation.ParameterMetadata
CustomAttribute1 System.Management.Automation.ParameterMetadata
ErrorAction System.Management.Automation.ParameterMetadata
Verbose System.Management.Automation.ParameterMetadata
ExtensionCustomAttribute3 System.Management.Automation.ParameterMetadata
CustomAttribute9 System.Management.Automation.ParameterMetadata
ErrorVariable System.Management.Automation.ParameterMetadata
ModeratedBy System.Management.Automation.ParameterMetadata
CustomAttribute14 System.Management.Automation.ParameterMetadata
MailTip System.Management.Automation.ParameterMetadata
Debug System.Management.Automation.ParameterMetadata
SimpleDisplayName System.Management.Automation.ParameterMetadata
PrimarySmtpAddress System.Management.Automation.ParameterMetadata
AcceptMessagesOnlyFrom System.Management.Automation.ParameterMetadata
MailTipTranslations System.Management.Automation.ParameterMetadata
CustomAttribute15 System.Management.Automation.ParameterMetadata
WhatIf System.Management.Automation.ParameterMetadata
ReportToOriginatorEnabled System.Management.Automation.ParameterMetadata
OutVariable System.Management.Automation.ParameterMetadata
ExtensionCustomAttribute1 System.Management.Automation.ParameterMetadata
RejectMessagesFromDLMembers System.Management.Automation.ParameterMetadata
ExtensionCustomAttribute5 System.Management.Automation.ParameterMetadata
MemberJoinRestriction System.Management.Automation.ParameterMetadata
CustomAttribute4 System.Management.Automation.ParameterMetadata
InformationVariable System.Management.Automation.ParameterMetadata
Alias System.Management.Automation.ParameterMetadata
ManagedBy System.Management.Automation.ParameterMetadata
GrantSendOnBehalfTo System.Management.Automation.ParameterMetadata
CustomAttribute2 System.Management.Automation.ParameterMetadata
CustomAttribute13 System.Management.Automation.ParameterMetadata
SendModerationNotifications System.Management.Automation.ParameterMetadata
OutBuffer System.Management.Automation.ParameterMetadata
CustomAttribute11 System.Management.Automation.ParameterMetadata
EmailAddresses System.Management.Automation.ParameterMetadata
InformationAction System.Management.Automation.ParameterMetadata
CustomAttribute12 System.Management.Automation.ParameterMetadata
WarningAction System.Management.Automation.ParameterMetadata
AsJob System.Management.Automation.ParameterMetadata
因此,这可能意味着实际上不存在-RoomList
参数,但从我在文档中了解到的情况来看,应该是这样的(我们在欧洲运营我们的O365公司,没有特殊设置)
希望有人能告诉我如何更改该通讯组列表。Thx如果我使用连接ExopSession
连接到Exchange Online,我会看到使用该参数设置DistributionGroup
。@AdminOfThings遗憾的是,我尝试使用connect ExopSession连接,但参数没有更改。请尝试运行此命令New DistributionGroup-Name'Room List Name'-RoomList,添加DistributionGroupMember-标识“房间列表名称”-成员RoomName@gmail.com,获取内容|添加DistributionGroupMember-标识“房间列表名称”?我认为您没有足够的权限。我在租户管理下登录后也经历了同样的情况(所需的最低权限肯定更低),它工作得非常好:)