Pages

Friday, June 1, 2012

Howto export list of users from an Active Directory group

Hi ,

Howto export list of users from an Active Directory group


dsquery group -name MYGROUP | DSGET group -members

Then you can put it to a text file by simply adding “> mygroup-members.txt” and the end for example. More simple than struggling around with VBScripts, and very useful.

No comments:

Post a Comment