Chapter 28. Windows and Domain Administration Scripts
IN THIS CHAPTER
A number of different tasks exist within a domain that you might want to automate. Some that pop into mind are automating the process of creating new user accounts, finding users who haven’t logged on in a long time and disabling their accounts, and collecting information from the computers in your domain. Whatever your needs, scripting is an excellent solution, and the three sample scripts in this chapter should give you a good idea of what you can accomplish.
Automating User Creation
In this example, I’ll show you how to use ActiveX Data Objects (ADO) to query information from a Microsoft ...