Bash Loop Through Array Powershell Execution