Powershell Function Parameters Array Methods In React