Powershell Insert Cmdlet Into Array Methods In Typescript