Wednesday, April 14, 2010

List member of a group in exchange

dsget group "DN_of_group" -members -expand > userlist.txt

C:\Users\jqiu-admin>dsget group "CN=Sales - Products & Services,OU=Security Grou
ps,OU=Groups,OU=Prod,DC=internal,DC=local" -members -expand > userlist.txt

C:\Users\jqiu-admin>move userlist.txt C:\Users\jqiu-admin\Desktop\temp
1 file(s) moved.

2 comments: