Shell Script Loop Through Array Powershell Update Registry