Active Directory Command line


hi

is there command or batch file can make through can modify attributes of users in active directory? can create large number of users through dsadd command in 1 click, in same way can make changes ad attributes e.g manager name of few users, designation or title of few users in ad comand line or batch file?

i have small idea first users detail dsquery command , pipe dsmod command, don't have exact command line.

please help.

regards,
ravi bhanot

 you on right track... use dsmod.  exact command line refer url:  http://technet.microsoft.com/en-us/library/cc732954.aspx


for example add phone number user account use "dsmod userdn -tel 5555551234"

i recommend using excel write batch files save excel spread sheet text (ms-dos).  you'll need clean text file bit before can run batch file though.
http://www.chrislooney.com mcitp: enterprise administrator (server 2008), mcse: security 2003/2000, mcse: messaging 2003/2000, mcitp: exchange 2007, mcts:sharepoint 2007 (admin, , develop), mcts: sql 2005, mcdba, mcad, mcdst, mcsa, ccna, ccsp, security+, ocdba


Windows Server  >  Directory Services



Comments

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file