Using Exchange Management Console (EMC) GUI, you might have experienced that Dynamic Distribution Group feature only offers a few filter conditions. E.g. you cannot use a filter for the “office” AD field or “and/or” combinations, negation etc.

To gain more flexibility, use Exchange Management Shell.


To get all users who work in a certain office OR a certain company, use this shell command:

After creating the group, you will see it within EMC. You can modify every property in the GUI except your filter string.


List of available filter properties


  [email protected]