Chapter 20. Putting It All Together: Your First WMI/ADSI Script
IN THIS CHAPTER
By now, you should have a good idea of what WMI and ADSI can do for you. In this chapter, I’ll walk you through the complete design process for an entirely new script. This time, I’ll use both WMI and ADSI in the same script. The script’s job will be to check in on every computer in an Active Directory or NT domain and query some information about its operating systems. I want the script to output this information to a text file on a file server. The information I want to collect includes operating system version, service pack level, number of processors in the machine, ...
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.