Hi world,
I'm creating a new DDG that I want to contain all mailbox users in multiple Organization Units ...but after creating is success .....the group is empty !
my command to create the group:
New-DynamicDistributionGroup -Name "All_Female_Faculty" –OrganizationalUnit "OU=Internal,OU=EMAIL,DC=nu,DC=edu,DC=sa" -RecipientFilter {(RecipientType -eq 'UserMailbox') -and (RecipientContainer -eq 'OU=XXXXX,OU=XXXXX,OU=XXXXX,DC=XXX,DC=XXX,DC=XXX' -or RecipientContainer -eq 'OU=XXXXX,OU=XXXXX,OU=XXXXX,DC=XXX,DC=XXX,DC=XXX' -or RecipientContainer -eq 'OU=FACULTY,OU=FEMALE,OU=UnknownCity,DC=nu,DC=edu,DC=sa')}
the syntax of the command is correct .....and the OUs containing a lot of users with mailboxes, however no results come back when I query the group !!
Hossam Wael Elmosallamy (IT Support Engineer-ECC Solutions) MCSE - CCNA hossam.wael@eccsolutions.net Mobile:(011)-49464671 www.eccsolutions.net "Experience Reliability"