Dymanic Distribusion Groups with OR clause.

I have an Dynamic Distribution Group based on office attribute, but I got thrown a curve ball this morning and need to add a single recipient to each of these Dynamic groups.  
I was thinking that there was an OR clause, but in EMC does not look like that.  From Powershell I can see that there are multiple -and clauses .  

Is it possible to build a Dynamic DG with -or and -and?
LVL 27
yo_beeDirector of Information TechnologyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jian An LimSolutions ArchitectCommented:

my dynamic DG looks like this,

((((RecipientType -eq 'UserMailbox') -and (Office -eq 'Melbourne'))) -and
(-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and
(-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and
(-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and
(-not(RecipientTypeDetailsValue -eq 'PublicFolderMailbox')) -and
(-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox')) -and
(-not(RecipientTypeDetailsValue -eq 'AuditLogMailbox')) -and
(-not(RecipientTypeDetailsValue -eq 'AuxAuditLogMailbox')))
yo_beeDirector of Information TechnologyAuthor Commented:
But I do see any -or clauses.
Jian An LimSolutions ArchitectCommented:
why not just build one up?
it is just a recipient filter. you can set whatever filter you want and i can reassure i have some that use OR.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

yo_beeDirector of Information TechnologyAuthor Commented:
The question is How
Jian An LimSolutions ArchitectCommented:
cool, do you have specifc requirement that i can help?
yo_beeDirector of Information TechnologyAuthor Commented:
Office location -or custom attribute.
Jian An LimSolutions ArchitectCommented:
New-DynamicDistributionGroup -Name "DDGTest" -RecipientFilter {((Office -eq 'Melbourne') -or (customattribute2 -like 'something*'))}

$g= get-dynamicdistributiongroup "DDGTest"
Get-Recipient -RecipientPreviewFilter $g.RecipientFilter

check the filterable item from here https://technet.microsoft.com/en-us/library/bb738157(v=exchg.150).aspx

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
yo_beeDirector of Information TechnologyAuthor Commented:
Thank you.

That worked perfectly
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.