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

image

You might recognize this from the previous chapter, and you might spot what’s changed. ...

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