Powershell Loop Through Array Of Objects Javascript