Powershell While Loop Array Javascript Methods Msn Web