Summary
Pulling together ADSI and WMI into a single script offers some powerful functionality. More important, though, the example in this chapter should make you feel more comfortable with the sometimes-daunting task of creating a script from scratch. Just break down the tasks that need to be completed, and then develop some prototype code for each task. Use wizards, examples from the web, or samples from this book to help create prototype code. After all, there's no sense reinventing the wheel when there's a large library of samples on the web and in this book to work with!
With your task list and prototype out of the way, you can start assembling the script. Write functions and subs to perform repetitive tasks, or tasks that you might want to reuse in future scripts. Write the main script, and then start testing. With this methodology in mind, most scripts can be whipped together quickly!