Solved

Is there a way or a little Utility to pull up all groups and their members on a server?

Posted on 2015-01-17
4
68 Views
Last Modified: 2015-02-04
I need a Utility to pull up all groups and their members on server 2003

Trying to migrate shared folders to another server among other things

Is there a way or a little Utility to pull up all groups and their members on a server?

It is a DC and runs AD
0
Comment
Question by:hcste
  • 2
4 Comments
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
ID: 40555417
Do you have powershell installed on your 2003 server? This would be the easiest and cheapest way to get the info you are looking for.

If not, I would recommend using something like AD Manager which will be able to get all of the Groups in your AD Domain and all of the members assoicated with them.

Download AD Manager
AD Manager Download

Will.
0
 

Author Comment

by:hcste
ID: 40555449
How do I do it using powershell?
0
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 40555472
Use the following command...
import-module activedirectory
$Groups = Get-AdGroup -filter *
foreach ($member in $Groups) {
        Get-AdGroupMember -Identity $member | ft $member.Name, Name, sAMAccountName
}

Open in new window


Will.
0
 
LVL 37

Expert Comment

by:bbao
ID: 40555609
> I need a Utility to pull up all groups and their members on server 2003

just clarify: do you actually mean you want to list all groups and members of the AD from the DC running W2K3? not just the objects belong to the specific server.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

756 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