导出AD组内人员名单

1. dsquery group -name "xx" | dsget group -members | dsget user -samid -dn >aaa.txt

2. net group xx >aaa.txt

3. dsquery group -name "ss" | dsget group -members >aaa.txt

4. dsquery computer ou=xx,dc=xx,dc=xx,dc=x -limit 0 >Computer.csv


你可能感兴趣的:(AD组,AD信息导出)