Powershell Loop Through Array Example Javascript Function How To Use