Powershell Push To Array Javascript Function Types In Python Iteration