Chapter 9. Manipulating Other Types of Data


In the prior two chapters, you learned a lot of about string and numeric data. In this chapter, I’ll cover everything else—the lesser-used data types that are nonetheless so important to VBScript. You’ll find yourself using these data types most frequently in complex scripts. For example, I’ll begin with date and time data, which you’ll use frequently in many Windows Management Instrumentation (WMI) scripts. I’ll also cover byte data, which is a lot less common in administrative scripts, but worth knowing about in case you need it. Finally, I’ll cover arrays, which aren’t really a data type at all. They’re a special ...

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.