DEV Community

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

Posted on

1

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)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay