Re: Need help defining a custom query in AD

Tech-Archive recommends: Speed Up your PC by fixing your registry



Use find from active directory.
right click on the domain->find->choose exchange tab, ->select advanced, and
choose field E-Mail Address (add 2 conditions one for domain1 and other for
domain2)

--
I hope that the information above helps you

Good Luck
Jorge Silva
MCSA
Systems Administrator

"Dave Myles" <Dave Myles@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9241D5FB-F829-4F87-B671-EFE20721BA89@xxxxxxxxxxxxxxxx
I have about 80 uses and many, not all, of them have more than one email
address because our domain hosts email for a few other domains even though
we're all the same company. Don't ask! I know I can look at each account
to
find out who is using what email addresses but I don't want to. When I do
a
custom query I don't get the results I want. I either get nothing or all
my
user accounts.

For instance we have domain1.com and domain2.com that we own and have
email
for. All users have domain1.com email addresses but only some have
domain2.com email addresses. I want to run a query in AD that shows me
which
users have the domain2.com email address.

Any help would appreciated!

Thanks,
Dave Myles


.