Chapter 21. Testing and Debugging WMI and ADSI Queries
IN THIS CHAPTER
I think that one of the most frustrating parts about scripting is debugging Windows Management Instrumentation (WMI) and Active Directory Services Interface (ADSI) scripts that look like they should work perfectly—but which don’t do what I expect them to. In other words, the script code itself looks perfect, but for some reason the script just doesn’t do anything. Take this as a quick example of what I’m talking about:
You might recognize this from the previous chapter, and you might spot what’s changed. ...
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.