Powershell Insert Cmdlet Into Array Methods In Javascript