RosettaCodeData/Task/Associative-array-Creation/PowerShell/associative-array-creation-2.ps1
2026-04-30 12:34:36 -04:00

4 lines
120 B
PowerShell

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