本文介绍了从1 csv文件添加/删除/更改用户所需的VB脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是b $ b我现在是系统管理员,我的老板给我分配了一个创建脚本的任务,通过该脚本,AD可以自动添加/删除/更改.csv文件中的用户。我对vb脚本没有任何想法。我想请求任何VB专家请求帮助
我完成这项任务,以确保我的工作。我使用了Scott Lowe的脚本(http://i.zdnet.com/blogs/create-users-in-active-directory-from-a-csv-file-with-this-vbscript.pdf)添加用户但是我不知道如何从一个
csv文件添加/删除/更改用户。请帮助

Hi,
I am working as system administrator now my boss assigned me a task to create a script through which AD can automatically add/delete/change users from .csv file. I have not any idea of vb scripting. I would like to request any VB expert to please please help me to fulfill this task as its required to secure my job. I have used Scott Lowe's script (http://i.zdnet.com/blogs/create-users-in-active-directory-from-a-csv-file-with-this-vbscript.pdf) to add user but I don't know how to add/delete/change users from one csv file. please help

 

以下是我的csv文件数据:

following is my csv file data:

Action,GivenName,SN, DisplayName,samAccountName,Name,Password,OU

A,Tommy,Tester,Tommy Tester,Ttester,Ttester,myPa $,OU = Students.O = hms.local

A,Jane,Tester,Jane Tester,Jtester,Jtester,myPa $,OU = Students.O = hms.local

D,raheel,raheel,raheel raheel,qamar,qamar,qamar1,OU = Students.O = hms.local

U,adam,adam,adam adam,ghilcrist,ghilcrist,qamar2,OU = Students.O = hms.local

Action,GivenName,SN,DisplayName,samAccountName,Name,Password,OU
A,Tommy,Tester,Tommy Tester,Ttester,Ttester,myPa$,OU=Students.O=hms.local
A,Jane,Tester,Jane Tester,Jtester,Jtester,myPa$,OU=Students.O=hms.local
D,raheel,raheel,raheel raheel,qamar,qamar,qamar1,OU=Students.O=hms.local
U,adam,adam,adam adam,ghilcrist,ghilcrist,qamar2,OU=Students.O=hms.local

推荐答案


这篇关于从1 csv文件添加/删除/更改用户所需的VB脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 07:16