for /L %a in (101,1,120) do dsadd user "CN=sale%a,ou=sale,dc=skills,dc=com" -pwd Qwer1234 -memberof "cn=sale,ou=sale,dc=skills,dc=com" -pwdneverexpires yes -canchpwd no
注意该命令是在cmd窗口执行,在powershell执行会报错
posted on
2022-09-05 09:30南山放牧
阅读(25)
评论(0)
编辑收藏举报