Dynamic distribution group oPath RecipientFilter on a string field

Copper Contributor

When using an oPath recipientfilter on a string field in DDG, I can only put an * at the end of the string but not at the beginning.

(See https://github.com/MicrosoftDocs/office-docs-powershell/blob/master/exchange/docs-conceptual/recipie...)


If a user has an extensionattribute1 = "CRITERIA1 CRITERIA2"

he will be included if the DDG oPath recipientfilter  CustomAttribute1 -like 'CRITERIA1'


But which DDG oPath can I create to include the user in a DDG based on CRITERIA2 ?


Any help will be appreciated, I spent hours on this :(


0 Replies