Angular Loop Through Array Powershell Script Not Running