管理员 登陆 CMD
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 %[email protected] -ln %a -fn %b -pwd %e -disabled yes
原文地址:https://www.cnblogs.com/BinBinGo/p/12189864.html
时间: 2024-10-11 03:59:30