Chapter 30. Windows and Domain Administration Scripts
IN THIS CHAPTER
In this chapter, I provide a few Windows and domain administration scripts, along with the line-by-line explanations I've used throughout this book. These samples are intended to be immediately useful in your own environment, and they provide a great way to see specific scripting features in action so that you can use them more effectively in your own scripts.
A number of different tasks exist within a domain that you may 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.
|