Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: Looping through all users in Active Directory + seting data in a f

HTVi
TV Discussion Newsgroups

Looping through all users in Active Directory + seting data in a f
Ryan A 5/15/2007 8:37:01 PM
I want to create a script that would loop through all users in Active
Directory and puts a number in the "Office" field.

Psudocode:

Loop while Object is a user
Put number in Office Field
Repeat with next user
Re: Looping through all users in Active Directory + seting data in a f
KeReleaseMutex[ at ]gmail.com 5/15/2007 11:20:41 PM
On May 16, 6:37 am, Ryan A <Ryan A...[ at ]discussions.microsoft.com>
wrote:
[Quoted Text]
> I want to create a script that would loopthroughallusersinActiveDirectoryand puts a number in the "Office" field.
>
> Psudocode:
>
> Loop while Object is a user
> Put number in Office Field
> Repeat with next user

Try JustLdap from justldap.com
We use it all the time.

Wfmo


RE: Looping through all users in Active Directory + seting data in a f
neothwin 5/16/2007 4:38:01 AM
Hi,

dsquery user | dsmod user -office "1234567890"

regards,

"Ryan A" wrote:

[Quoted Text]
> I want to create a script that would loop through all users in Active
> Directory and puts a number in the "Office" field.
>
> Psudocode:
>
> Loop while Object is a user
> Put number in Office Field
> Repeat with next user

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen