How do I create array of arrays in PowerShell? November 21, 2023 by Tarik Adding a comma force to create an array: $x = @( ,@(1,2,3) ) Simple way: $x = ,(1,2,3)