Hashtable

say it: “HASH-tay-bul” /ˈhæʃˌteɪbəl/

A set of key-value pairs written with `@{}`.

What is Hashtable?

A hashtable stores key-value pairs, written with @{}.

$recipe = @{ Title = 'Pancakes'; Minutes = 20 }
$recipe.Title
$recipe['Minutes'] = 25

Level: Apprentice · More PowerShell terms at this level

Updated