获取通讯组属性Get-DistributionGroup



Get-DistributionGroup-ResultSize Unlimited | SelectName,Displayname,GroupType,PrimarySmtpAddress,@{n='RejectMessagesFromSendersOrMembers';e={$_.RejectMessagesFromSendersOrMembers-join';'}},@{n='RejectMessagesFrom';e={$_.RejectMessagesFrom-join';'}},@{n='RejectMessagesFromDLMembers';e={$_.RejectMessagesFromDLMembers-join';'}} | Export-Csv D:\huangjh\Get-DistributionGroup.csv -NoTypeInformation-Encoding utf8


本文出自 “黄锦辉专栏” 博客,谢绝转载!

你可能感兴趣的:(get,group,distribution)