http://windowstricks.in/

We've moved from ganesh-windowstricks.blogspot.in to windowstricks.in,please update your feeds & links!

To check the list of Users Group Membership

8 November 2009

Check the list of Users Group Membership List

I have used "for" command to read the input file (list.txt) and execute the "net user" command for each user and store the result in output.txt file

For /f %a in (list.txt) do net user %a /dom >> output.txt

Note: run this command from where the input file (list.txt) there
Example: if you have the user list in c:\temp then you have to run this command from there, this will create and store the output in output.txt file
Related Articles

ldap path

Force active directory replication

Force sysvol replication

application directory partition

application directory partition





You can also use the below link which uses the dsget command

Related Articles

To display the list of members with nested groups

how to find the ldap path

List active directory group members

find distinguished name

Share this . . .

0 comments:

Post a Comment

Copyright   © 2014 - www.Windowstricks.in - all rights reserved | Powered by Blogger | Blogger template The Beach by Ourblogtemplates.com

Back to TOP