批量设置某些通讯组的属性或权限

1 设置通讯组成员需要管理员审批
Set-DistributionGroup testgroup -MemberJoinRestriction 'ApprovalRequired'
2 获取nuomi相关的通讯组将其组成员加入设置为需要管理员审批
Get-DistributionGroup nuomi.* | Set-DistributionGroup -MemberJoinRestriction 'ApprovalRequired'
3 将用户通讯组 testgroup更改为需要组管理者批准用户加入组的请求。此外,通过 BypassSecurityGroupManagerCheck 参数,将不会通知组管理者已对该通讯组设置进行了更改。
Set-DistributionGroup -Identity 'testgroup' -MemberJoinRestriction 'ApprovalRequired' -BypassSecurityGroupManagerCheck

分享名称:批量设置某些通讯组的属性或权限
文章路径:http://csdahua.cn/article/pogghd.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流