Solved

AD group members report in mixed Windows 2003/2008 Domain

Posted on 2014-11-17
4
210 Views
Last Modified: 2014-11-17
We need to do an AD group members report in mixed Windows 2003/2008 Domain. All it is 30 users contain with in an AD group and we need an easy listing report of these users.
0
Comment
Question by:kgeddes
  • 3
4 Comments
 
LVL 9

Accepted Solution

by:
dlb6597 earned 500 total points
ID: 40447160
one simple way is from from a command prompt:

net group groupname /domain
0
 

Author Comment

by:kgeddes
ID: 40447371
Thanks good stuff but, ended up using a script with a dsquery Action line being ... ACTION
for /F "usebackq delims==" %%I in ("%FOLDER%\groups.txt") do @dsquery group -name %%I | dsget group -members -expand | dsget user -samid -ln -fn -email -loscr -profile -hmdrv -hmdir -c 2>nul >"%RESULTS%\%%I.csv"
0
 

Author Comment

by:kgeddes
ID: 40447382
I've requested that this question be closed as follows:

Accepted answer: 0 points for kgeddes's comment #a40447371

for the following reason:

good stuff pointed me in right direction
0
 

Author Closing Comment

by:kgeddes
ID: 40447383
Good stuff
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DHCP restore question Server 2003 to 2012 3 46
Best practice DHCP migration 7 63
Windows 2003 domain controller crashed BDC is 2008 server 4 61
Can’t delete a file 14 136
Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now