码迷,mamicode.com
首页 >  
搜索关键字:get-distributiongroup    ( 3个结果
PowerShell获取Exchange通讯组属性
取单个通讯组属性Get-DistributionGroup-identityit.tsg-ResultSizeUnlimited|`SelectName,Displayname,GroupType,PrimarySmtpAddress,`@{n=‘RejectMessagesFromSendersOrMembers‘;e={$_.RejectMessagesFromSendersOrMembers
分类:系统相关   时间:2019-03-25 12:16:24    阅读次数:210
获取通讯组属性Get-DistributionGroup
Get-DistributionGroup-ResultSizeUnlimited|SelectName,Displayname,GroupType,PrimarySmtpAddress,@{n=‘RejectMessagesFromSendersOrMembers‘;e={$_.RejectMessagesFromSendersOrMembers-join‘;‘}},@{n=‘RejectMessagesFrom‘;e={$_.RejectMessagesFrom-join‘;‘}},@{n=‘Reject..
分类:其他好文   时间:2016-02-25 06:54:17    阅读次数:444
批量为通讯组添加RejectMessagesFromSendersOrMembers成员
批量为通讯组添加RejectMessagesFromSendersOrMembers成员,此操作不会覆盖原来的配置,只是增加$groups=Get-DistributionGroup-ResultSizeunlimitedforeach($groupin$groups){$current=$group.RejectMessagesFromSendersOrMembers$current+=‘RejectSendEmailToGroup‘Set-Distr..
分类:其他好文   时间:2016-02-25 06:52:27    阅读次数:195
3条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!