Viewing Group Members

  • Thread starter Thread starter Ray Lewis
  • Start date Start date
R

Ray Lewis

Is there a way that I can view the members of my active directory groups by
using a tab delimited text file or something? Basically, the previous Admin
has created some 40 groups and rather than open each group and view the
members of the group and write them down, I'd like to be able to create some
kind of report that will show me who belongs to all the groups.
 
Is there a way that I can view the members of my active directory groups by
using a tab delimited text file or something? Basically, the previous Admin
has created some 40 groups and rather than open each group and view the
members of the group and write them down, I'd like to be able to create some
kind of report that will show me who belongs to all the groups.


See tip 9244 » How can I generate a CSV file of all domain group membership?
AND LINKS in the 'Tips & Tricks' at http://www.jsifaq.com
 
I tried your suggestion, but I received this error.

'UserPgid' is not recognized as an internal or external command, operable
program or batch file.

I'm not familiar with running batch files, so I don't know if I did it right
or not.
I copied the code and pasted it to a .txt file.
I renamed the GroupMembers.txt file to GroupMembers.bat.
I saved the file on the AD servers C:\.
At the command C:\, I ran groupmembers c:\documents and
settings\user\desktop\GroupMembers.csv.

Am I doing everything right?


--
Wack
----
This message will self destruct.
 
I tried your suggestion, but I received this error.

'UserPgid' is not recognized as an internal or external command, operable
program or batch file.

I'm not familiar with running batch files, so I don't know if I did it right
or not.
I copied the code and pasted it to a .txt file.
I renamed the GroupMembers.txt file to GroupMembers.bat.
I saved the file on the AD servers C:\.
At the command C:\, I ran groupmembers c:\documents and
settings\user\desktop\GroupMembers.csv.

Am I doing everything right?

You need to locate all the sub-programs (.bat files) in a folder that is in your path.
 
Is there a way that I can view the members of my active
directory groups by
using a tab delimited text file or something? Basically, the
previous Admin
has created some 40 groups and rather than open each group and
view the
members of the group and write them down, I'd like to be able
to create some
kind of report that will show me who belongs to all the
groups.

use ADFIND http://www.joeware.net/win/free/tools/adfind.htm

adfind -default -f "(objectClass=group)" member

replace -default with -b "OU=???,OU=???,DC=???,DC=???" if you want to
target a certain OU
 
Back
Top