powershell array of size code example Example: powershell array of size PS> $arr = New-Object int[] 10000 PS> $arr.length 10000