Bash Loop Through Array Powershell Commands