Chapter 8. Manipulating Strings


Computer names, group names, usernames, queries—strings are all around us in the world of administrative scripting. Learning to manipulate those strings is a key skill. You’ll find yourself building file paths, working with server names, creating Windows Management Instrumentation (WMI) queries, and much more. In fact, string manipulation is such a fundamental VBScript skill that you’ll need to master it to some degree before you can start writing effective scripts.

Strings in VBScript

As you learned in Chapter 5, “Functions, Objects, Variables, and ...

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.