Simplest is to connect 5 volt to the "OFF" position of the power switch. Easy to solder at the side of the PCB
Now you can switch the nanoVNA on by switching it on
--
NanoVNA Wiki:
/g/nanovna-users/wiki/homeNanoVNA Files:
/g/nanovna-users/filesErik, PD0EK