Arrays and Arraylist

Learn about arrays in Powershell and Python along with Arraylist in Powershell.

We'll cover the following

Arrays

A PowerShell array is an immutable (fixed sized) data structure that can hold heterogeneous elements.

Arrays in Powershell are implicitly typed, but if we can cast the variable as an array type if we want to create a strongly typed array, such as string[], long[], or int32[].

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy