[ExchangeList] Re: user list

  • From: "Fereydoon Tahmooressi" <fereydoon@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
  • To: <exchangelist@xxxxxxxxxxxxx>
  • Date: Mon, 14 Jul 2008 12:19:14 -0500

I did run it, but don't know what switches to use so I get the user's
e-mail address from a group.  i.e.  I need all users under group called
FIRE.

 

________________________________

From: exchangelist-bounce@xxxxxxxxxxxxx
[mailto:exchangelist-bounce@xxxxxxxxxxxxx] On Behalf Of Michael B. Smith
Sent: Monday, July 14, 2008 11:46 AM
To: exchangelist@xxxxxxxxxxxxx
Subject: [ExchangeList] Re: user list

 

If your windows xp box is a domain member, you don't need to run it on
the server.

 

Just open a command prompt. Once the data looks like you want it to,
redirect the output to a file.

 

I'm pretty sure dsquery is only installed on the server operating
systems.

 

Regards,

 

Michael B. Smith

MCITP:SA,EMA/MCSE/Exchange MVP

http://TheEssentialExchange.com

 

From: exchangelist-bounce@xxxxxxxxxxxxx
[mailto:exchangelist-bounce@xxxxxxxxxxxxx] On Behalf Of Fereydoon
Tahmooressi
Sent: Monday, July 14, 2008 12:38 PM
To: exchangelist@xxxxxxxxxxxxx
Subject: [ExchangeList] Re: user list

 

When I run the adfind, a dos window flashes on my Windows XP and goes
away.  Do I need to run it on the server?  How do I use dsduery
(syntax)?

thanks

 

________________________________

From: exchangelist-bounce@xxxxxxxxxxxxx
[mailto:exchangelist-bounce@xxxxxxxxxxxxx] On Behalf Of Michael B. Smith
Sent: Monday, July 14, 2008 11:11 AM
To: exchangelist@xxxxxxxxxxxxx
Subject: [ExchangeList] Re: user list

 

I like the adfind utility from www.joeware.net. It works on Windows 2000
and up.

 

Adfind -default -f name=<groupname> member

 

You can also use dsquery with dsget on Windows 2003 and up:

 

Dsquery group domainroot -name <groupname> | dsget group -members

 

Using adfind is less typing and I find the syntax easier to remember.

 

Regards,

 

Michael B. Smith

MCITP:SA,EMA/MCSE/Exchange MVP

http://TheEssentialExchange.com

 

From: exchangelist-bounce@xxxxxxxxxxxxx
[mailto:exchangelist-bounce@xxxxxxxxxxxxx] On Behalf Of Fereydoon
Tahmooressi
Sent: Monday, July 14, 2008 11:36 AM
To: exchangelist@xxxxxxxxxxxxx
Subject: [ExchangeList] user list

 

Hi,

How do I print a list of users in a group which I created?  Group scope
is Global, Group type is security.  All I want is their e-mail addresses
so I can send it to someone.  I do not want to type the entire group.  I
can settle for cut and paste if possible.

Thanks

 

 

P  Please consider the environment before printing this email. 

 

Other related posts: