Refer to the following table:
Using the array operator |
@() |
$array = @() # Empty array |
Implicit array |
Value1, Value2, Value3 |
$array = 1, 2, 3, 4 |
Using the hashtable operator |
@{} |
$hashtable = @{} # Empty hashtable |