Chapter 30. WMI and ADSI Scripts


Windows Management Instrumentation (WMI) and Active Directory Services Interface (ADSI) both come across as incredibly complex. It’s not surprising; the official Microsoft documentation doesn’t help make them any more approachable. However, I’ve found that a few generic WMI and ADSI scripts can show you how to do just about anything with either of the two technologies. That’s what this chapter is all about: providing you with some templates ...

Get VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows® Administration now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.