Lists and Lookups: Arrays and Hashtables
An array keeps several values in order, made with commas or @( ) and read by position from [0], and a hashtable, made with @{ }, keeps values under names so you can look one up by its name, the way you'd find a word in a dictionary.
Updated
![Cheat sheet for the lesson Lists and Lookups: Arrays and Hashtables: An array keeps several values in order, made with commas or @( ) and read by position from [0], and a hashtable, made with @{ }, keeps values under names so you can look one up by its name, the way you'd find a word in a…](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/d4182c490e2142028daefa561fda97b9.webp)
- Category
- PowerShell
- Level
- Journeyman
- Tags
- Array, array-index, hashtable, powershell