|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
banan2 wrote:
> Can I get a ing hand with creating a script that will create a user in > AD, asign a home folder the user (\\server\user shared\%username%), and > add > the user to a few groups? I have an example VBScript program that creates AD users in bulk from the information in an Excel spreadsheet linked here: http://www.rlmueller.net/CreateUsers.htm The program can create the home folder and add the user to any number of groups. I'm actually in the process of revising this program, but I don't want to post the new version until I finish testing. The new version reads the Distinguished Name of the parent container (the OU or container where the user account is created) from the spreadsheet (the DN of the parent container is hard coded in the current version). The new version also accepts the NT names (NetBIOS names) of the groups, while the current version requires the Distinguished Names. I will probably post the new version in a few days. -- Richard Mueller Microsoft MVP Scripting and ADSI Hilltop Lab - http://www.rlmueller.net -- |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
"banan2" <banan2@discussions.microsoft.com> wrote in message news:050EC730-8BE9-42D8-8638-98EA24A9DB55@microsoft.com... > Thanks for your response. > > If you don't mind I will use parts of your script (for my own purpose > only) > to be able to add a single user from an input. No problem, it's just an example. Use as you wish. -- Richard Mueller Microsoft MVP Scripting and ADSI Hilltop Lab - http://www.rlmueller.net -- |
|
![]() |
| Outils de la discussion | |
|
|