for /f "tokens=1,2,3,4,5 delims=," %a in (person.csv) do dsadd user "cn=%c,ou=员工,dc=myloverxhy,dc=com" -samid %d -upn %d@myloverxhy.com -ln %a -fn %b -pwd %e -disabled yes
批量创建AD域用户
原文:https://www.cnblogs.com/BinBinGo/p/12189864.html