How to remove a user from a dynamic distribution group

I am using Exchange  2007, and I have a Dynamic Distribution Group that includes all AD users in my organization; my question is how do I remove particular user from this group?
CertiCellAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brian PiercePhotographerCommented:
Dynamic groups are created on-the-fly and the membership is evaluated according to the criteria set. If your dynamic group is set to contain all users, then by definition you can't remove a user from it.

Normally dynamic groups ae set to evaluate membership according to a specified field (such as all those iin a particular department). You will need to update the user accounts with appropriate information and define the query appropriately

There is a similar question here http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_23055391.html
0
ingolfssoniCommented:
Ok the first you need to do is to identify how you can filter this user from the rest, one option is to set custom attribute for instance Custom Attribute 3 as NotIncludedInDDG_Test1 (have a easy understandable name and this also gived you more options in the future)

Then this is a mandatory reading for you.
http://technet.microsoft.com/en-us/library/bb125127.aspx
http://technet.microsoft.com/nb-no/library/bb738157(en-us,EXCHG.80).aspx

But the answer is to use powershell command which should look like this.
New-DynamicDistributionGroup -Name "Test1" -OrganizationalUnit "OU=Groups,DC=Mydomain,DC=com" -RecipientFilter {((RecipientType -eq 'UserMailbox') -and -not (CustomAttribute3 -eq 'NotIncludedInDDG_Test1'))} -RecipientContainer "Mydomain.com"

Here you have all users which don't have CustomAttribute3 as NotIncludedInDDG_Test1.

Just short on what these arguments are.
- OrganizationalUnit: Specifies the container/OU where the group will be created
- RecipientContainer: Specifies container to pick up recipients from. If not specified, this gets set to the same value as the OrganizationalUnit parameter (the OU/Container where the group is created), and the filter may not return the expected recipients (or worse— may not return any recipients at all... )

Hope this gets you on right track
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PostmasterCommented:
Short answer - make it so the list logic does not include them
0
ingolfssoniCommented:
Do you need more info on this, if there is anything unclear then make a comment.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.