Array declaration in Powershell is almost the same as instantiating any other variable, i.e. you use a $name = syntax. The items in the array are declared by separating them by commas(,):
$myArrayOfInts = 1,2,3,4
$myArrayOfStrings = "1","2","3","4"
Adding...