The people I wanted to exclude from the DDG were members of another 
distribution group so I ran:


New-DynamicDistributionGroup -name “Group Name” -OrganizationalUnit "Group OU 
Location" -recipientcontainer "recipientstoinclude" -recipientfilter { 
MemberOfGroup -ne "DistributionGrouptoExclude" }


From: [email protected] [mailto:[email protected]] On 
Behalf Of Adm
Sent: Tuesday, 30 June 2015 12:00 AM
To: [email protected]
Subject: Re: [Exchange] Dynamic Distribution List - Exclude Members

Details?

On Monday, June 29, 2015, Gannon, Todd 
<[email protected]<mailto:[email protected]>> wrote:
Worked it out thx anyway 😄

Sent from my iPhone

On 29 Jun 2015, at 2:41 pm, Gannon, Todd 
<[email protected]<javascript:_e(%7B%7D,'cvml','[email protected]');>>
 wrote:
Hello –
We have a dynamic distribution group based on a OU, and we need to exclude 
specific members from this list based on CustomAttribute1 in the users object. 
Is this possible?
Exchange Powershell is not a strong point so any advise would be greatly 
accepted.
Thanks
Todd


--
smsadm

Reply via email to