You can use some tools to add Active Directory interaction into your batch scripts. DS tools come with the admin pack from Microsoft for Windows XP or Windows Server 2003. You can use dsquery to retrieve information from the AD or use dsmod to adjust settings related to an OU, user, or computer account. Additionally, there is: dsadd dsget dsmove dsrm I use dsmod to change the … [Read more...]