The first thing to understand is that there are no array literals in PowerShell J Arrays are built using operators or casts. The way to build an array in PowerShell is to use the comma operator as shown in the following examples:
$a = , 1 # array of one element
$a = 1,2 # array of two elements
$a = 1,2,3...