Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

@{Add clears a multivalue attribute

$
0
0

I have some existing distribution lists that have Reject attributes set on them through the Exchange mgmt gui.  I want to be able to go through and append a global 'termed user' group to all DLs.  However, when I use the syntaxhere, it does not append and only clears the attribute.  What am I missing?

Example:

Get-DistributionGroup -resultsize unlimited |Set-DistributionGroup -RejectMessagesFromSendersOrMembers @{Add="company.com/Groups/Termed Employees"}



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>