Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

I want to list and export the users in a Global group in the Active Directory 2003

there are many global groups in my active directory domain now I want to find out the users list in the global group please give me advice on how to find and import to a text file.
0
007kumar
Asked:
007kumar
  • 3
  • 3
2 Solutions
 
007kumarAuthor Commented:
any suggestions please
0
 
leakim971PluritechnicianCommented:
0
 
farazhkhanCommented:
Hi,

You can retrieve a list of users from a Security or Distribution Group in domain by using DSget tool - a new tool introduced in Windows 2003. This tool and other related tools ships with Windows 2003 CD.


Let's say you need to gather a list of users (+nested groups) from a domain group. This is bit easy. You can use the following command to accomplish the goal:

dsget group "DN_of_group" -members -expand > userlist.txt

The output will be saved in userlist.txt

This is the sample output saved in userlist.txt

"CN=Shan Dallis,OU=Users,DC=test,DC=local"
"CN=Tapihe C Mdwa,OU=Users,DC=test,DC=local"


and so on...

Courtesy: http://msmvps.com/blogs/systmprog/archive/2007/01/28/list-members-of-a-group.aspx

Regards,
Faraz H. Khan
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
leakim971PluritechnicianCommented:
Thanks a lot for the points!
0
 
007kumarAuthor Commented:
I must thank you for your wonderful brain
0
 
007kumarAuthor Commented:
Leakim can you do me a favour?
0
 
leakim971PluritechnicianCommented:
If I can, for sure, but I'm sure we have the same brain, trust me!
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now