Bash Loop Through Array Powershell Version