RosettaCodeData/Task/Associative-array-Creation/PowerShell/associative-array-creation-...

5 lines
120 B
Plaintext

$hashtable = @{
"key1" = "value 1"
key2 = 5 # if the key name has no spaces, no quotes are needed.
}