Link to home
Start Free TrialLog in
Avatar of hcste
hcste

asked on

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

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
ASKER CERTIFIED SOLUTION
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hcste
hcste

ASKER

How do I do it using powershell?
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.
> 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.