Bash Script Loop Through Array Powershell Update Node