成都网站建设设计

将想法与焦点和您一起共享

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

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://chengdu.cdxwcx.cn/article/pogghd.html