DEV Community

Cover image for PowerShell Array and ArrayList - storing multiple items as a one variable
Kamil Pro
Kamil Pro

Posted on

PowerShell Array and ArrayList - storing multiple items as a one variable

Link to the script: https://github.com/kprocyszyn/About-PowerShell/tree/main/PowerShell%20Array

Array is a basic data structure that allows to store multiple items in one variable. In this short video, I'll show you how to create a basic array, populate it with items, how to add, access and modify items within array.

In addition, I'll present to you how to use ArrayList - which is much more flexible array, especially for adding more items.

Top comments (0)