41

AD批量添加群组与用户-勿声勿色

 5 years ago
source link: http://blog.51cto.com/linxy/2129564
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
一、背景因管理需要计划将现有的serv-u服务改成ad+iis+ftp+ntfs架构,所以需要在ad中新建对应群组并添加用户。为提高效率减少重复工作,编写一个批量新增群组及添加用户脚本,以下为测试环境。二、汇总注意事项:用户必须存在,在制作用户文件时必须先行过滤,否则脚本将中途中断所有群组的用户存在一个用户文件中,其长短不一存在无值(csv文件中间列)或空值(csv文件最后一列),需求将其过滤脚本

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK