# 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.

![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
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/powershell-arrays-and-hashtables-cheat-sheet
