O'Reilly logo

VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows® Administration by Don Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required