Powershell Script Loop Through Array Reactjs