Link to home
Start Free TrialLog in
Avatar of aucklandnz
aucklandnzFlag for New Zealand

asked on

Dynamic Distribution Group Exchange 2010

Im trying to setup DDG on exchage 2010. Im using New Dyamic Distribution Group Wizard. under condition section im asked to select condition.

I want the group to be based on Office Attribute which is not listed. There is a State or Province, Department, Company but no office.

Does it have to be done in shell ?

thanks

ASKER CERTIFIED SOLUTION
Avatar of Akhater
Akhater
Flag of Lebanon image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aucklandnz

ASKER

im trying to add but im getting error
New-DynamicDistributionGroup -Name Name -OrganizationalUnit ta.local/My Company/IT Users -RecipientFilter {Office -eq 'Head Office'}

A positional parameter cannot be found that accepts argument 'Company'.
    + CategoryInfo          : InvalidArgument: (:) [New-DynamicDistributionGroup], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,New-DynamicDistributionGroup

I tried without spaces aswell,

any idea ?
i have managed to create it by :

 New-DynamicDistributionGroup -Name "IT Group" -Alias "IT_Group" -OrganizationalUnit "ta.local/My Company" -RecipientFilter {((RecipientType -eq 'UserMailbox') -and ((Office -eq 'Head Office')))} -RecipientContainer "ta.local"

the group has been created, i have changed Office attribiute on one user, then i righ clicked on group>properties>filter?preview and he is there. however when i try to send email to group it does nothing
all working now, my outlook had problems, after restarting all emails arrived.
it just doesnt appear in GAL
for it to appear in gal it could take up to 48 hours don't worry, try OWA you will see it
Thanks for your help