Sid_F
asked on
2003 DC export all groups and all users in those groups to CSV- No Powershell
I don't have powershell on a 2003 DC. I need to export all groups and all users in those groups. Can anyone tell me the command I need to run.
actually, leave off the -name parameter because that would be if you only want a list for a specific group
ASKER
Even without removing name I get an error target object for this command is missing
dsquery group DC=mydomain,DC=local -name groupname | dsget group -members > groupname.txt
I also tried
dsquery group DC=mydomain,DC=local -name groupname | dsget group -members >c:\group.txt
dsquery group DC=mydomain,DC=local -name groupname | dsget group -members > groupname.txt
I also tried
dsquery group DC=mydomain,DC=local -name groupname | dsget group -members >c:\group.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if you just enter "dsquery group" what do you get back?
Open in new window