Array

say it: “uh-RAY” /əˈreɪ/

A list of values, with indexes starting at 0.

What is Array?

An array holds a list of values, written with @() or just commas. Indexes start at 0.

$colors = @('red', 'green', 'blue')
$colors[0]      # red
$colors += 'gold'

Level: Apprentice · More PowerShell terms at this level

Updated

In other subjects