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 ...
Get VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows® Administration now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.