Bash Script Loop Through Array Powershell Delete