Creating Dynamic Distro group using 'office' field
Hi,
I have several hundred users already entered into AD.
Each user has an office assigned to them already (Ie, NY, LA, CH) in the office field under the 'organization' tab in EMC.
I need to create Dynamic distro email groups for users in each specific office. So, when looking in the GAL, a user can find "Chicago", for example and select that to email everyone in the Chicago office.
I have tried this but it's not working: New-DynamicDistributionGroup -Name "NY" -Filter {Office -eq 'New York'}
All of my users are in one OU in AD, so I can't create the lists based on OU.
Is there a way to create the list based on using the 'office' field?
Thanks!
Mike
June 20th, 2011 6:08pm
Try
New-DynamicDistributionGroup -Name NY -RecipientFilter { (office -eq 'New York') }
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2011 6:23pm
Ah-ha!
Thanks. That worked.
Mike
June 20th, 2011 6:42pm
One other question -- is there a way to stop users from outside of the organization from sending to this list? I thought I remember reading somewhere that there was, but I can't find it right now. Thanks again.
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2011 6:44pm
In the dl properties, on the message ddelivery restrictions tab, check "require that all senders are authenticated"
June 20th, 2011 6:59pm
Right. That was it. Thanks again.
Mike
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2011 8:42pm