Powershell While Loop Array Javascript Length Function In Oracle