Send payload with badusb

Hello everyone, I am looking to upload a payload on a computer that I will have put in the pinball machine.

I would like to send an .exe created with metasploit directly to the computer, either by remote downloading on powershell or directly by storing it on the flipper.

Do you think its possible?
thank you.

Looks like ducky-script format for msfvenom (flipper zero compatible) by h00die · Pull Request #17279 · rapid7/metasploit-framework · GitHub will solve your problem once it lands in the metasploit framework

Script for converting exe file to bad usb script check this