| |
yoyok
Posts: 2
Score: 0
Joined: 3/7/2002
From: Germany
Status: offline
|
hello everyone, who can help me with a vbscript to add a new user to a windows-client. found a script at misos: Option Explicit Dim objAs, objUser, sUser sUser = "Dummy" Set objAs = GetObject("LDAP://omc.net") Set objUser = objAs.Create("User", "CN=" & sUser) objUser.FullName ="Dummy Big B" objUser.Description = "Needs his own Server" objUser.Put "samAccountName", sUser objUser.Put "userPrincipalName", "dummy@omc.net" objUser.SetInfo WScript.Echo "Benutzer " & sUser & " angelegt" but my vb says no LDAP-server. which is true, but where lse can put the needed infos, and which infos does windows need at that point? yoyok
|
|