Working with Arrays

Since we have discussed collections, you might find it easy at this point to think of arrays as collections that you create and can control. There are several cool aspects of arrays; for example, you can populate them with information for later use in the script. In addition, you can create an array dynamically during the execution of the script. You’ll explore each of these concepts in this section.

Get Microsoft® Windows® Scripting Self-Paced Learning Guide 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.