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
|