Forum Discussion

chozin78's avatar
chozin78
Copper Contributor
Jun 16, 2022

Dynamic DL Exclusion

I am trying to exclude certain members in AD that belong to a specific company. It doesn't appear to work when I filter using the objects below:

 

Example -and (Company -ne 'Company A*'))

7 Replies

      • It will work, but only when comparing against single value. Thus if you have multiple company names to check against, you have to include multiple statements. If you want to use wildcards, the -like operator will do.

Resources